Flex - higher resolution image storage

In Flex, I use graphics.codec.JPEGEncoder to save image files that are edited inside the application (normal manipulations such as brightness, etc.). I can save files in perfect condition. I want to know that I can save a better resolution image? Say, for example, the image that is being downloaded and processed was originally 72dpi, now I can save it with a resolution of 150 or 300 dpi? If so, how to do it.

No need to use JPEGEncoder, if there is any way to do this at all, for example, using any library, etc., I'm fine. Any suggestions?

Note. If that matters, I use Bitmapdata to store the image and manipulate and save the image using JPEGEncoder, supplying it as a bytearray, as shown below.

var imageBytes:ByteArray = encoder.encode(myBitmapData);
+3
source share
1 answer

If you say that you want to save an image with a resolution of 72 dpi with a resolution of 150 or 300 dpi, it should be significantly expanded in your case, and you should use something like bicubic interpolation for this.

+2
source

All Articles