--TEST-- GH-10614 (imagerotate will turn the picture all black, when rotated 90) --EXTENSIONS-- gd --SKIPIF-- =')) die("skip test requires GD 2.3.4 or older"); if (!(imagetypes() & IMG_PNG)) { die("skip No PNG support"); } ?> --FILE-- --EXPECT-- --- Angle 0 --- string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" --- Angle 90 --- string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" --- Angle 180 --- string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" string(1) "0" --- Angle 270 --- string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000" string(1) "0" string(1) "0" string(8) "7f000000" string(8) "7f000000"