Bit depth wrongly calculated in GIFFimageparser
-----------------------------------------------

                 Key: SANSELAN-62
                 URL: https://issues.apache.org/jira/browse/SANSELAN-62
             Project: Commons Sanselan
          Issue Type: Bug
          Components: Format: GIF
            Reporter: Piyush Kapoor
            Priority: Minor


File : GifImahgeParser.java 
Formula used for calculating Bits per pixel is wrong . 

It should be
int BitsPerPixel = (bhi.colorResolution + 1) ;

instead of 

int BitsPerPixel = (bhi.colorResolution + 1) * 3;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to