7 and plan skip_all => "png available, and this tests the lack of it";
12 ok(!$im->read(file=>"testimg/palette.png"), "should fail to read png");
13 cmp_ok($im->errstr, '=~', "format 'png' not supported", "check no png message");
14 $im = Imager->new(xsize=>2, ysize=>2);
15 ok(!$im->write(file=>"testout/nopng.png"), "should fail to write png");
16 cmp_ok($im->errstr, '=~', "format 'png' not supported", "check no png message");
17 ok(!grep($_ eq 'png', Imager->read_types), "check png not in read types");
18 ok(!grep($_ eq 'png', Imager->write_types), "check png not in write types");