[OpenJDK 2D-Dev] Reviewer needed - two new regression tests for checking PNG reader proper behaviour
Pavel Tisnovsky
ptisnovs at redhat.com
Tue Feb 1 14:31:37 UTC 2011
Hi all,
I've prepared two regression tests which check PNG reader behaviour.
First test (GoodPngImageProcessor) check if the ImageIO subsystem is
able to process various types of PNG images which are known to have
valid format.
Second test (BadPngImageProcessor) checks if the ImageIO subsystem
throws proper exception (ie. only exception mentioned in the
specification) if broken PNG image is to be read.
Webrev containing new tests is available at:
http://cr.openjdk.java.net/~ptisnovs/PngReader/
The test PNG images were obtained from the page
http://www.schaik.com/pngsuite/pngsuite.html with Willem van Schaik's
(author of all images)
approval:
=================================================================
The 'legal' status of PngSuite, if you can even call that, is that
anybody may use it any way they like. You may include it in any piece of
software, no matter if that's GPL, freeware or commercial.
When I created PngSuite at the time, I created every single image from
scratch. There was nothing used, borrowed, etc. from existing images. I
did it that way because nothing out there was usable, but the advantage
is that the end result has no depending copyright issues.
=================================================================
Is it possible to add files "licensed" in this way to OpneJKD7 please?
Thank you in advance
Pavel T.
More information about the 2d-dev
mailing list