Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <?
  2. $size = getimagesize("http://skins.ensemplix.ru/malik89303.png");
  3. $s= $size[0].'*'.$size[1];
  4. if($s=='64*32'){
  5. $src = imagecreatefrompng('http://skins.ensemplix.ru/malik89303.png');
  6. $dest = imagecreatetruecolor(80, 80);
  7. imagecopy($dest, $src, 0, 0, 8, 8, 8, 8);
  8. header('Content-Type: image/png');
  9. imagegif($dest);
  10. imagedestroy($dest);
  11. imagedestroy($src);
  12. }else{
  13. }
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement