Project Page for ImageCFC: http://www.opensourcecf.com/imagecfc/
New in Version 2.14 - Exact Size Thumbnails
Thanks to some contributed code, there is now a new "cropToExact" argument to the resize() method. This argument, when combined with a specified width, specified height, and the preserveAspect argument being set to true will cause a image to be resized then cropped to fit exactly within the specified dimensions.
For example, this will allow you to take a 800x600 image, and create a 100x100 thumbnail while still preservign the aspect ratio. In this case, the image would be resized to 133x100, then cropped to 100x100.
You are not logged in, so your subscription status for this entry is unknown. You can login or register here.
No comments found.
Post a comment (login required)