Rick Root wrote: > > 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. >
I have a mod to the resize() method which adds a preserveAspect argument that probably does what the scaleToFit() will do. If anyone wants that in the meantime, just send me an note. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:259969 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4