I have an application that loads and processes images. I want to use Aspose.Imaging only to load image and produce a java.awt.image.BufferedImage instance. This can be achieved by the following conversions flow:
com.aspose.imaging.Image -> ByteArrayOutputStream -> ByteArrayInputStream -> BufferedImage
Eventually the image after being processed, is saved on file system. The issue is that there are some images like the one attached, for which the background color gets Pale although it is originally White.
In order to isolate the issue i have tried a test code which does not include any intermediate processing of image, but instead it just loads it and saves it on file system again:
The saved image has a pale background. I also notice that asposeImage.getOriginalOptions() returns NULL.
Also the size of saved image is much bigger than the original.
A would appreciate a feedback on that
mark.jpg (33.8 KB)