You are here: Re: <img width > in apache « PHP Language « IT news, forums, messages
Re: <img width > in apache

Posted by Marc Nadeau on 07/24/05 04:52

Zbigniew Lisiecki a écrit:

> zbyszek
> ps: how could one shrink *jpg images in batch

I myself wrote an image galery php script that does batch resizing using
imageMagick as a backend.

copy(image_file, $thumbnail_file);
$thumb_size = '100x100';
$command = "$PATH_TO_IMAGEMAGICK/mogrify -size $thumb_size -resize
$thumb_size +profile \"*\" \"$thumbnail_file);\" ";
exec($command);

It's amazingly fast.

But you have to install imageMagick first.

A must.


--
Cogito ergo sum... et tralala
Marc Nadeau, webmestre, La Pagerie, http://www.pagerie.com

 

Navigation:

[Reply to this 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

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