Andy Matthews wrote: > Yep. Image.cfc by Rick Root. > > http://www.opensourcecf.com/imagecfc > > I just put it into place in a Content Management System and it works great!
I've got a couple more minor features and one bug to fix for the final release.. one user pointed out to me the wisdom of resizing to fit a space while preserving aspect ratio... so I'm gonna add a "preserveAspectRatio" option to deal with resizing an image to fit within a specified area... obviously the scaleX() and scaleY() methods allow you to resize to an exact width or an exact height, and the resize() method lets you resize to a specific width *AND* height but it munges the aspect ratio when you do that (which is sometimes desirable). Plus, if you resize an image down and overwrite the original image file, it doesn't change the size of the file... which is kinda weird. Almost like java treats the original file as a bucket, and when you make the data bigger it makes the "bucket" bigger, but when you make the data smaller it doesn't change the size of the bucket. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234509 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

