Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once('thumbnail.class.php');
- $thumb = new Thumbnail($_GET['url'], $_GET['width'], $_GET['height']);
- $thumb->quality = 0.9; // Kwaliteit naar 0.9 zetten
- $thumb->getPng(true, 'images/test.png'); // Sla png op in images/test.png.
- $thumb->getJpeg(); // Open jpeg in browser.
- $thumb->getGif(false); // teken gif in browser zonder opnieuw te renderen.
- ?>
Advertisement
Add Comment
Please, Sign In to add comment