eb420af865
The quality API doesn't work on the default PNG but works on JPG. - Switching to JPEG (100%) produces a smaller image than the default PNG. This covers most scenes. - For some scenes, the size could still be larger than 2MB, so retry with JPEG (80%). For a 1080p image, this action produces the file at <1MB range. The quality still looks ok, I think. |
||
---|---|---|
.. | ||
index.js | ||
view.jsx |