Image files stored in MS?

• Mar 16, 2022 - 17:47

I suspect that image files are somehow embedded in MuseScore files. If the image file is large - and it doesn't have to be - then it can perhaps be replaced by a more compressed version. However I think this may still leave a larger file "inside" a score.

Is there a way to check what additional files are embedded - and also remove them? I recollect using some form of Unzip utility to do this - but I can't remember what works.


Comments

In reply to by Jojo-Schmitz

That didn't seem to work on my system. The method using convert to .mscx then back to .mscz does work.

I tried simply deleting the image from a test score file. The file remained more or less the same size. Then using an unzip tool - again The Unarchiver showed that the image file was still embedded.

Maybe this works in some OS systems.

In reply to by yonah_ag

Thanks for this. It doesn't seem to quite be true. I tested with a file containing an image, plus several presumably stored larger images. The file size shrank dramatically, though the one image which was actually used still remained. According to the Handbook images are stripped out, but that didn't happen for me. The feature may be OS dependent.

This is very helpful, and does at least partially solve the problem.
In order to see the components again it does seem necessary to save again as an .mscz file, after which an unzip tool (I tried The Unarchiver in MacOS) to see the component files.

Very helpful tip.

Note: Large image files can be replaced by smaller ones by this method - or presumably vice versa. If the image file is actually used in the score it may not be stripped out by this conversion process, but image files which are bulking out the score and not used will be removed. If the images actually used are too large, then then can be removed individually, and replaced by similar ones with lower resolution.

Do you still have an unanswered question? Please log in first to post your question.