commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Praful Vaishnav (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IMAGING-201) Significant change in color of output image of tiff file
Date Tue, 07 Mar 2017 13:19:38 GMT

     [ https://issues.apache.org/jira/browse/IMAGING-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Praful Vaishnav updated IMAGING-201:
------------------------------------
    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.

Attachements:

SS_source.png - Screenshot of original tiff file
SS_result.png - Screenshot of result png file

  was:
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);*


> Significant change in color of output image of tiff file
> --------------------------------------------------------
>
>                 Key: IMAGING-201
>                 URL: https://issues.apache.org/jira/browse/IMAGING-201
>             Project: Commons Imaging
>          Issue Type: Bug
>          Components: Format: TIFF
>    Affects Versions: 1.0
>            Reporter: Praful Vaishnav
>
> 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.
> Attachements:
> SS_source.png - Screenshot of original tiff file
> SS_result.png - Screenshot of result png file



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message