You are indeed "the man".

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 11:43 AM
To: CF-Talk
Subject: Re: ImageCFC 2.10 Now Available


Rick Root wrote:
>
> I'm going to update the box blur too... and maybe also develop an object
> oriented interface to imagecfc
>
> <cfscript>
> objImage = createObject("component","imageObject");
> objImage.init("C:\Inetpub\wwwroot\myimage.gif");
> objImage.resize(400,300);
> objImage.addText(fontDetails,"Sample Text");
> objImage.save(compression=95);
> objImage.saveAs(filename="C:\Inetpub\wwwroot\myimage.gif",compression=95);
> <cfscript>
>
> I think it might simplify use... but I don't want to mess with the main
CFC.

This is done and part of release version 2.11, now available.

The object oriented wrapper includes a revert() method allowing you to
undo one level of changes.

If you store the image object in a session variable, you can manipulate
an image, and if you don't like it, revert back.

I think my next goal will be to *FINALLY* integrate the new imageCFC
into CFFM.  Being able to revert changes would be a nice feature for
those "oops" momemts.

The oo wrapper isn't documented, but it's included in the download for 2.11

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264062
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to