https://issues.apache.org/bugzilla/show_bug.cgi?id=53408
Priority: P2
Bug ID: 53408
Assignee: [email protected]
Summary: [PATCH] two new image loaders for PNG
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]