Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-45

Bit depth wrongly calculated in GIFFimageparser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-alpha1
    • Format: GIF
    • None

    Description

      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;

      Attachments

        Activity

          People

            Unassigned Unassigned
            pkapoor Piyush Kapoor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified