Robert Landrum wrote:

> At 4:13 PM +0100 1/21/02, Gerald Richter wrote:
>
>> > I recently decided that Apache::Gallery is really nice if you want to
>>
>>> sit down and start fiddling with templates, but that I needed to make a
>>> "quick-easy" version for myself.  The design is to be extremely simple,
>>> and is divided into two seperate modules.  The first is an on-the-fly
>>> thumbnail  generator (currently supports only jpeg), which is just a
>>> spiced up implementation of Image::GD::Thumbnail.
>>
>>
>> You may want to take a look at Apache::ImageMagick (if you not already
>> have). It's let's you create thumbnails very easy (just two parameters
>> pic.xxx/scale?geometry=100x100) and ImageMagick supports over 80 
>> different
>> formats. It also handles conversion from 4 color pictures to RGB for 
>> your
>> thumbnails and many other things, if you need them.
>
>
> ImageMagick is way too slow for use in a production system. Especially 
> if your resizing large images into thumbnails.  I suggest sacrificing 
> space for speed and pre-generating all your thumbnails.
>
> Most of the time libjpeg will do everything you need, including 
> scaling.  I suggestion GD with Jpeg support or Inline.pm/C/libjpeg for 
> real time conversion of jpegs.
>
> There are probably other faster libs out there, and I'm just citing 
> the ones I've heard about or used in the past.
>
> Rob
>
> -- 
> When I used a Mac, they laughed because I had no command prompt. When 
> I used Linux, they laughed because I had no GUI.  

Part of the idea here is to do everything on-the-fly so that changes on 
the filesystem (in terms of adding/removing pictures) will IMMEDIATELY 
take effect (including caching, etc) on the web interface.  That means 
no thumbnails to start with.

  Issac



Reply via email to