Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0-alpha1
-
None
-
None
Description
Hii.. I am reading tiff image file and using this library to convert it to PNG format. Resultant png file has significant change in color wrt its original tiff file. Below is the code :
File file = new File("C:\\original.tiff"); BufferedImage bi = Imaging.getBufferedImage(file); File dstFile = new File("C:\\result.png"); Imaging.writeImage(bi, dstFile, ImageFormats.PNG, null);
Reason could be :
original image is 32 bit depth and result image is 24 bit depth. Is there any issue with 32 bit depth image file.
Link for source tiff file - https://www.dropbox.com/s/kgqgdcygelkor8b/original.tiff?dl=0
Attachements:
SS_source.png - Screenshot of original tiff file
SS_result.png - Screenshot of result png file