"; var_dump(gd_info()); echo ""; // Let's target an image, copy it, rotate it, and save it $img = imagecreatefromjpeg("testgd.jpg"); $imgRotated = imagerotate($img, 45, 1); imagejpeg($imgRotated, "testgdRotated.jpg", 100); ?>