Closed josh08h closed 3 years ago
@josh08h That's unusual; I wouldn't know offhand since this library just piggybacks off of Canvas, so I'll need to do some testing to find out what's going on there,
@josh08h quick question -- are you trying to upscale an image? That is, you're trying to make the image be bigger than its original size in terms of height/width?
Closing due to inactivity, please feel free to reopen an issue if this persists
I'm using these settings:
and when I load an image that is below the max dimensions, I am seeing the end result become double the size of the original file.
For example, a png file has the original size of
130930
bytes. When I put it throughreadAndCompressImage
and create a new file (usingFile
API) from the returned blob I am seeing a new file size of230394
bytes.Could you explain this please?