Reply to Re: Question on using GD in PHP to size/resize images

Your name:

Reply:


Posted by Andy Hassall on 01/06/07 18:13

On 6 Jan 2007 09:18:15 -0800, "eholz1" <ewholz@gmail.com> wrote:

>In terms of making thumbnails, resizing images, etc are there any other
>programs that work better
>(whatever "better" means) than GD??? I have a version of gallery
>(menalto opensource program) and it seems to like netpbm, ImageMagik,
>etc. are either of these better or faster, etc. Or are they more or
>less equal??? My goal is to check size of original image (typically
>3000px by 3072 px) and make a thumbnail, and resize the "big" image to
>appropriate browser size (a poor man's gallery program).
>and when a viewer clicks the thumbnail, display the bigger image via
>php in browser.

ImageMagick is generally more suited to processing photographic images; GD is
mostly for computer-generated "block" graphics. ImageMagick is also somewhat
faster for image processing (resize etc.) and can give subjectively better
results as there's many options for filters and convolutions.

See also http://groups.google.co.uk/group/comp.lang.php/msg/a676e8f1a175b4ed

The downside is that (a) it has to be installed in the first place and (b) you
may need to shell out to the "convert" command, although there are a couple of
PHP APIs that give you direct access to the ImageMagick API.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[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

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