ZMYaro / paintz

A simple drawing app that runs in a web browser, designed to be an MS Paint substitute for Chromebooks and other Chrome OS devices. PaintZ is free, but please consider supporting development at https://ko-fi.com/ZMYaro or https://patreon.com/ZMYaro.
https://paintz.app
53 stars 11 forks source link

Add the ability to resize by inches or centimeters #228

Closed ZMYaro closed 1 year ago

ZMYaro commented 3 years ago

Add the ability to change the resize unit to “in.” or “cm” in addition to “px” and “%”. When selected, a DPI field also appears, defaulting to 96 (like MS Paint).

At time of writing, it does not appear to be possible to change the DPI encoded in JPEGs exported from canvases, so that field might not be possible to make editable.

ZMYaro commented 1 year ago

After further consideration, I am inclined to say it should default to 300 DPI (good quality for printing). If the DPI field is made customizable, include a warning that it is for canvas sizing and will not affect the DPI in the exported image's headers.

I made a separate ticket for the remaining functionality that is not possible right now: #265.

ZMYaro commented 1 year ago

Implemented in https://github.com/ZMYaro/paintz/commit/aeb67b37ef3f54339577fe8b91f335ee62e9c6fb.