>Bruce Young said:
>>
>> how about the GD library
>
>GD is more for *creating* images (as opposed to manipulating existing
>ones). Things like bar/pie charts on the fly and such.

Hi Bill

Yes, you are largely right in that most of the routines do as you say,
however it does include the following.

from the GD.pm interface (http://stein.cshl.org/WWW/software/GD/GD.html)

  CopyResized
       GD::Image::copyResized(sourceImage,dstX,dstY,srcX,srcY,destW,destH,
        srcW, srcH) object method

       This method is similar to copy() but allows you to choose
       different sizes for the source and destination rectangles.
       The source and destination rectangle's are specified independently
       by (srcW,srcH) and (destW,destH) respectively. copyResized()
       will stretch or shrink the image to accomodate the size requirements.


and from the FLY interface (http://www.unimelb.edu.au/fly/)

  copyresized x1,y1,x2,y2,dx1,dy1,dx2,dy2,[source-filename.gif|`command`]

       Copies region x1,y1 - x2,y2 of source-filename.gif or the
       GIF output of command to the area dx1,dy1 - dx2,dy2 of the
       image being created/modified, resizing the image to fit.
       If x1,y1,x2,y2 are all -1, copy the entire image.


I now remember why I was using it... it was to automatically provide
thumbnails for a postcard site :)

Bruce






____________________________________________________________________
--------------------------------------------------------------------
 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