Thanks for all the great info folks. Rick that added little feature you are
talking about would be awesome. Look forward to seeing it in action!!



Regards,

Doug B.
----- Original Message ----- 
From: "Rick Root" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Friday, November 10, 2006 4:23 PM
Subject: Re: Image manipulation


> Jordan Michaels wrote:
> >
> > On any image manipulation tags I've seen, you have to calculate the
> > proper proportions in order to keep them.
>
> ImageCFC has a scaleX and scaleY property, so ify ou want to restrict
> your image to 50px high, you'd just use the scaleY() method.  Both
> methods maintain aspect ratio and you don't have to do any calculations
> for the OTHER dimension.
>
> I'm gonna add a scaleToFit() method too that takes a maximum width and
> height and forces your image to fit within that space but still maintain
> aspect ratio.
>
> Rick
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259967
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