Reply to "On the fly" images

Your name:

Reply:


Posted by Chuck Anderson on 07/06/06 04:59

I have a web page/script that displays image files residing on disk. I
do not know what size they are (in pixels), so I want to be able to
resize an image if it is bigger than the limit I allow (say, 900 pixels
wide).

I want to create the resized image in memory and serve it directly,
without saving the resized image to disk (they are only temporary, and
I'd rather not worry about cleanup). I know how to use some of the GD
library and I also know how to use ImageMagick. I would prefer to use
ImageMagick, as it has a good quality Unsharp mask (usually needed after
a resize/resample of an image), but I don't know if it is capable of
doing this (creating the image in memory so I can serve it directly
without saving it to disk first).

Using the GD library, I need only use a header to set the MIME type and
then imagejpeg to serve the resized image directly from memory.

Does anyone happen to know if I can I accomplish the same thing with
ImageMagick?

Also, ... does anyone know of any good tutorials or scripts for
on-the-fly image editing (ImageMagick or GD lib)? (This is a pretty
good one: <http://codewalkers.com/tutorials/42/1.html> Any others? Any
that use ImageMagick?)

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Everyone's journey should be different,
so that we all are enriched
in new and endless ways
*****************************

[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

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