xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53408] New: [PATCH] two new image loaders for PNG
Date Wed, 13 Jun 2012 12:57:50 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53408

          Priority: P2
            Bug ID: 53408
          Assignee: general@xmlgraphics.apache.org
           Summary: [PATCH] two new image loaders for PNG
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: lmpmbernardo@gmail.com
          Hardware: All
            Status: NEW
           Version: Trunk
         Component: image codecs
           Product: XMLGraphicsCommons

Created attachment 28927
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28927&action=edit
the patch

This patch includes two new PNG image loaders, one that uses the internal XGC
PNG codec, and is very much equivalent to to the ImageIO image loader, and
another that does not do the decoding of the PNG IDAT chunk and instead accepts
the "raw" chunk. The image loaders are named, respectively, ImageLoaderPNG, and
ImageLoaderRawPNG. For now these image loaders have a default penalty of 1000
so that the default image loader is still ImageLoaderImageIO.

The ImageLoaderRawPNG has still some limitations on the type of PNG images that
can handle. It only handles images with 8 bits per channel and without
interlacing. Nevertheless, this image loader is particularly useful for large
images encoded with the Paeth filter since it does not do the decoding
(inverting the Paeth filter is very expensive). So besides being faster it also
produces smaller output files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message