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

PNG package code bloated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.x
    • 1.x
    • Format: PNG
    • None
    • Important

    Description

      The PNG component is really really bloated, and code is written for the same thing twice sometimes. For example, the formats.png package uses the `PngWriter` class which internally replicates the features that should actually be contained within formats.png.chunk Chunk classes (like PngWriter.ImageHeader which is just a PNG chunk representation, and can be eliminated by modified Chunk and PngChunkIhdr).

      The file format classes can be modified to reduce the code size significantly and make it much more clear. I'll clean up the PNG code, but want the interest of the project members.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ShukantPal Shukant Kumar Pal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: