haganbmj / MagicSetEditor2

Magic Set Editor is a program for designing trading cards
Other
21 stars 8 forks source link

Feature request: More zoom levels, always export at max zoom level? #56

Open Darthagnon opened 1 year ago

Darthagnon commented 1 year ago

I've struggled for a little while with exporting high-quality images from MSE, and found that if you set:

Edit >> Preferences >> Display >> Zoom (200% max) and enable Use zoom and rotation settings when exporting

MSE will export larger sized images than if it's set to 100%. Unfortunately, (a) 200% is the maximum, so we're limited to 750x1046 exports, and (b) 200% scaling means the card preview is unusable (the bottom is cropped off, though NB I'm on 125% DPI scaling on a laptop).

Darthagnon commented 1 year ago

After testing looks like the (a) and (b) option is already implemented in this fork. Thank you!

I'll leave this issue open for the moment for consideration, though, as the other options may be useful?

haganbmj commented 1 year ago

You can actually manually key in numbers greater than 200 on any of those fields, if you go too large with the primary display size though you might run into crashes and stability issues with MSE that might require you manually edit the settings file to revert.

But yeah, my intent was to decouple the display size and the export size - so those are independently controllable. It's possible that should go a step further and be modifiable per style, but that gets a bit messy to remember.

G-e-n-e-v-e-n-s-i-S commented 1 year ago

A problem similar to (b) is that currently, if you use both normal-res (375x523 pixels) and hi-res (750x1046 pixels) templates in the same set, even at 100% zoom, the bottom of hi-res cards are cropped off.

A good solution for this would be to take into account the card DPI. If we say 150 DPI is the baseline, since it's the most common, then cards with 300 DPI could inherit an automatic 0.5 zoom modifier, etc... that way all the cards would be previewed at the same size, as they would be when exported to a PDF.