Reply to image resize quality

Your name:

Reply:


Posted by windandwaves on 02/24/06 02:24

Hi Folk

I was just wondering if you do any "thumbnailing" (imagecopyresized) of
images and if you have noticed that the quality is not always that great.

This is what I use:

$source = imagecreatefromjpeg($filename);
$thumb = imagecreatetruecolor($w[$portrait][$j],$h[$portrait][$j]);
imagealphablending($thumb, false);
$source = @imagecreatefromjpeg($filename);
imagecopyresized($thumb, $source, 0, 82, 0, 0, $w[$portrait][$j],
$h[$portrait][$j], $width, $height);
@imagejpeg($thumb, $filename);

And the images come out rather pixilated...

TIA

> Nicolaas

[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

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