Open Armagedon13 opened 9 months ago
Yeesh, I know MSE does some funky stuff when storing the card images. It crops and resizes them into the set bundle and probably throws away any of the original information... or at least doesn't use it during export.
I had originally forked to try and address some of the sizing limitations MSE had (see https://github.com/haganbmj/MagicSetEditor2/pull/3), but it sounds like there are more things to improve.
well, i only put this issue because the resolution loss is to much, i can't test the code by myself because i can't build it.
That looks to be related to how it draws text, I'm thinking it's this line as this is the primary rendering function for the output image if I recall correctly - it doesn't look to take the template or user-supplied images into account.
that's because i send the wrong one, now why make the bit depth to 24? i was thinking that read from the image or the project, maybe add the bit depth in the script of the project idk.
I'm less sure that's the only place that matters now that I read more into it, it seems that wxWidgets uses a default depth based on the screen.
https://docs.wxwidgets.org/3.0/classwx_bitmap.html#a3bb19e8d368d6565f52a9c1294d80d7a
OK, it indicates the number of pixels your screen contains, which generally today all handle 32-bit colors.
i have a template : card width: 813 card height: 1185 card dpi: 350 32 bit depth (i have the images to that resolution) when exporting a card maintain the aspect ratio but not the bit depth