codemov icon indicating copy to clipboard operation
codemov copied to clipboard

Resize image before saving to file

Open sloganking opened this issue 3 years ago • 1 comments

Currently resizing is done on already saved PNG images. This is wasteful as we waste time encoding and decoding PNG images as an intermediate step. Ideally we should resize images right after they are created while they are still in memory.

Requirements:

sloganking avatar Sep 11 '22 22:09 sloganking

Or we could build a resize function directly into codevis::render

sloganking avatar Sep 11 '22 22:09 sloganking