cornedor

Untitled

Nov 29th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. <?php
  2.     require_once('thumbnail.class.php');
  3.     $thumb = new Thumbnail($_GET['url'], $_GET['width'], $_GET['height']);
  4.     $thumb->quality = 0.9; // Kwaliteit naar 0.9 zetten
  5.     $thumb->getPng(true, 'images/test.png'); // Sla png op in images/test.png.
  6.     $thumb->getJpeg(); // Open jpeg in browser.
  7.     $thumb->getGif(false); // teken gif in browser zonder opnieuw te renderen.
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment