--TEST-- png <--> gd1/gd2 conversion test --EXTENSIONS-- gd --SKIPIF-- =')) { die("skip test requires GD 2.3.2 or older"); } if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) { die("skip png support unavailable"); } ?> --FILE-- --EXPECT-- PNG to GD1 conversion: ok PNG to GD2 conversion: ok GD1 to PNG conversion: ok GD2 to PNG conversion: ok