Reply to Re: work with images

Your name:

Reply:


Posted by Mara Guida on 12/11/05 19:25

NurAzije wrote:
> I wonder is there a way or a function to take a high resolution image
> and change it to low resolution ??

imagepjeg()
Look it up on the manual: http://www.php.net/imagejpeg


not tested
<?php
define('QUALITY', '10'); // try different values here
$filename = 'DSC09876.jpg';
$im = imagecreatefromjpeg($filename);
imagejpeg($im, 'low_' . $filename, QUALITY);
?>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация