Skip to content

Instantly share code, notes, and snippets.

@kovagoz
Last active August 29, 2015 14:14
Show Gist options
  • Save kovagoz/be11af06203600d2bd47 to your computer and use it in GitHub Desktop.
Save kovagoz/be11af06203600d2bd47 to your computer and use it in GitHub Desktop.
Image rotation bug
<?php
$img = imagecreatetruecolor(640, 480);
$rot = imagerotate($img, -90, 0);
var_dump(imagesy($rot));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment