Rolf wrote:

> Jack Killpatrick wrote:
> >
> > Perl folks:
> >
> > Anyone know of a perl module that will create thumbnails of a
> specified size
> > (or aspect ratio) from jpg and gif images?
> >
>
> Does it have to be a perl module or are you just looking for something
> to make thumbnails at a specific size? There are a couple of software
> tools I've used that do that which I can recommend.

Yes, it's gotta be a perl script (or a ColdFusion custom tag, which I think
I remember seeing somewhere). Thanks, but I've got a bunch of desktop apps
that will do it, too.

> Will the perl module create and save a new graphic, or will it scale
> height and width attributes from the original? Depending on what you
> want to do, the answer to that question might have a bearing on the
> route that you take.

It has to scale the incoming image to a certain width, maintain the
height/width ratio and save the modified version as a new file at 72
pixels/inch. In other words, the end result must be a new file that is a
predetermined width, let's say, 150pixels wide. Height must scale using the
same ratio used to scale the image to 150 wide. Incoming image size will be
highly variable, but will almost always be larger than the resulting
"thumbnail" image file.

Bill Houle mentioned "PerlMagik (requires ImageMagik)", which I'll look for.

Thanks,
Jack

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to