Need way to add an image to a score
https://musescore.org/en/handbook/3/images#add-image says to “Drag-and-drop an image file (from outside MuseScore) either into a frame or onto a note or rest in the score” (assuming I don’t want to or can’t use the text frame method), but this assumes there to be something to drag it from.
While this might seem easy on Windows® (drag from Windows Explorer), it does not translate cross-platform, so a File Open dialogue is required.
Comments
It sure is not just Windows allowing drag and drop.
For Frames there is such a File Open dialog, as mentioned in the handbook.
Once added to a frame you can copy/cut and paste it onto notes and rests
In reply to It sure is not just Wondowes… by Jojo-Schmitz
I simply have no graphical file manager anything I can drag from; therefore, a built-in solution is required.
Frames differ from images on notes, though.
In reply to I simply have no graphical… by mirabilos
I'm sure you'll find a graphical file manager for Linux, there are plenty
In reply to I'm sure you'll find a… by Jojo-Schmitz
That is not the solution.
As things currently stand, MuseScore “doesn’t support” the feature, if it needs external help.
In reply to That is not the solution. … by mirabilos
Nonsense, MuseScore does support it. It is your OS of choice that does not.
Every program needs external help, none runs without support of an operating system, need additional libraries, etc.
On the Title frame, right-click allows you to navigate to an image. If I understand correctly, would you like the same for the other elements?
In reply to On the Title frame, right… by Shoichi
Thanks! In Continuous View I couldn't find the "add picture" menu item.
In reply to Thanks! In Continuous View I… by tantallion
Continuous View due to its nature doesn't show vertical frames (such as the title frame).
@mirabilos
I agree with you, because I have always preferred menu commands to drag-and-drop actions.
What you are suggesting is presumably a popup menu action similar to Vertical Frame > Add > Picture ?
For consistency it would be a sensible feature request to add a popup menu action for Note > Add > Picture and for Rest > Add > Picture.
In reply to @mirabilos I agree with you,… by DanielR
A sensible feature request, yes, but not a bug as @mirabilos seems to claim ;-)
This is not a solution to your request, but:
@mirabilos:
What OS are you running?
Are you able to use the file dialogue to add an image to a frame?
In reply to @mirabilos: What OS are you… by yonah_ag
Some Linux Ubuntu/Debian variant
In reply to Some Linux Ubuntu/Debian… by Jojo-Schmitz
@mirabilos, basically a Feature request?
In reply to @mirabilos, basically a… by Shoichi
A feature request, sure. I asked this as a support question, not in the issue tracker, deliberately.
Does your system not support copy & paste, either? That should work too. I virtually never use drag & drop, whether running Windows or Linux (but that also works fine on both for me).
Not sure it's up to every application to incorporate every OS feature lacking in some particular Linux distribution. If you were running a variant that lacked, say, audio or graphics drivers, would we be expected to write our own? Where do we draw the line?
In reply to Does your system not support… by Marc Sabatella
Copy and paste, probably, but from what? From a Qt application most likely, perhaps even from a GTK+ application, but all my usual applications are console-based (text mode), and I don’t even have any graphical file manager installed. (I used to have Konqueror, whose main function is browser, but I deinstalled it at some point in time where the dev version broke, and I didn’t really use it anyway.)
In reply to Copy and paste, probably,… by mirabilos
There are also ways to run a program remotely (funnily enough, often using Microsoft’s RDP protocol), in which case there wouldn’t even be a file reference to a local file if something was dragged from another application…
In reply to Copy and paste, probably,… by mirabilos
Copy & Paste from a MS frame as suggested by Jojo above?
In reply to Copy & Paste from a MS frame… by yonah_ag
Ah, good point. That would probably work, as a workaround.
In reply to Copy and paste, probably,… by mirabilos
In principle, it should be possible to develop a command line program that takes an image file argument and renders it to the clipboard. Looks like ImageMagick can probably do it - see https://imagemagick.org/discourse-server/viewtopic.php?t=18918
In reply to In principle, it should be… by Marc Sabatella
That may all technologically be possible, and it’s probably easier to install some kind of graphical file manager alongside, but this all does not address the fact that MuseScore ought to be able to do this on its own (especially as it can already do that, just only for frames), and that only when MuseScore does it itself, the reference to the file in the filesystem can be properly stored in the MSCX file’s XML (look into your files with images, they have absolute paths there, not just MSCZ references).
In reply to That may all technologically… by mirabilos
Sure, as with everything else, it's just a question of priorities. You might literally be the only person in the world to benefit from such a feature...
In reply to Sure, as with everything… by Marc Sabatella
(Actually not because, since I work almost exclusively with MSCX files, will likely use a custom font instead of embedding images. But that’s a different problem.)
No, I think it’s necessary for consistency. Were it not documented in the handbook, the function to add an image to a note would not be found: it is not discoverable in the application itself. It also stands out as the only thing (except apparently video exports) that the application cannot do by itself while supporting it.
In reply to (Actually not because, since… by mirabilos
It is documented in the handbook.
(the application does not support video export, don't confuse this with musescore.com' "Send to YouTube")