We call the command line image editor, ImageMagick, using CFExecute. It
isn't exactly the most elegant solution, and you won't be able to run it
on a lot of hosts, but it is cheap. :)

  http://www.imagemagick.org

Here's an example. This call fills a rectangular area of an image and
then crops the image:

<cfexecute
        name="C:\ImageMagick\mogrify.exe"
        arguments="-fill ""##FFF"" -draw ""rectangle 181,46 268,138""
-crop 200 -quality 100 c:\Image.jpg"
        timeout="10">
</cfexecute>

Benjamin S. Rogers
http://www.c4.net/
v.508.240.0051
f.508.240.0057

-----Original Message-----
From: JLH All Turbo [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 11:56 AM
To: CF-Talk
Subject: cfimage


What do you folks use to allow users to upload an image and have cf
process it into a thumbnail and a fullsize version and compress it?

thanks,

jacob.


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to