From: Tony Cook Date: Mon, 12 Sep 2011 12:37:18 +0000 (+1000) Subject: document the new test image functions X-Git-Tag: v0.85_01~2 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/ca6c0621fca69c8de973c1b143edb3597932450d?ds=inline document the new test image functions --- diff --git a/lib/Imager/Test.pm b/lib/Imager/Test.pm index b3ac4450..ec2f587f 100644 --- a/lib/Imager/Test.pm +++ b/lib/Imager/Test.pm @@ -886,15 +886,33 @@ Returns a 150x150x3 Imager::ImgRaw test image. =item test_image() -Returns a 150x150x3 8-bit/sample OO test image. +Returns a 150x150x3 8-bit/sample OO test image. Name: C. =item test_image_16() -Returns a 150x150x3 16-bit/sample OO test image. +Returns a 150x150x3 16-bit/sample OO test image. Name: C =item test_image_double() -Returns a 150x150x3 double/sample OO test image. +Returns a 150x150x3 double/sample OO test image. Name: C. + +=item test_image_gray() + +Returns a 150x150 single channel OO test image. Name: C. + +=item test_image_gray_16() + +Returns a 150x150 16-bit/sample single channel OO test image. Name: +C. + +=item test_image_mono() + +Returns a 150x150 bilevel image that passes the is_bilevel() test. +Name: C. + +=item test_image_named($name) + +Return one of the other test images above based on name. =item color_cmp($c1, $c2)