How to specify pixel dimensions / set decimal dpi resolution for graphic export

• Mar 21, 2020 - 11:42

Hello,
I am using musescore 2 on lubuntu 16.
Page size is 160 mm x 90 mm, I wish to export png graphics exactly 1280x720 for video purposes.
if "Resolution DPI" in Edit>Preferences>Export accepted decimal values it would be easy (that's how I use to do it with another commercial notation software) but it accepts only integer numbers and I cannot reach the exact desired pixel dimensions.
Is there a way to force it (eg writing the float resolution in some "preferences" .xml file somewhere...) or doing it in another quick way without having to scale manually the exported files?
Thanks


Comments

So you you'd need fractional DPI setting, like 200.25 DPI? What is a quarter pixel then, and why doesn't rounding to the next integer work for you?

In reply to by stefcarbo91

If you don't mind specifying the page size in inches, 6.4 × 3.6" at 200 DPI is exactly 1280 × 720 pixels (and exactly 162.56 × 91.44 mm).

If you want to specify the page size in mm, 128 x 72 mm at 254 DPI is exactly 1280 × 720 pixels (and approximately 5.04 × 2.83"). Or, going bigger, 256 x 144 mm at 127 DPI is exactly 1280 × 720 pixels (and approximately 10.08 × 5.67").

You could also consider exporting to SVG instead of PNG, then in principle the sizing is done at the receiving end. How practical that is depends on what you are actually trying to do here - what software you are using to create video from the graphics, what your workflow is like, etc.

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