October 2009
Beginner
408 pages
7h 27m
English
Resizing images is a little tricky, but you can break the process down into small sections. Resizing an image requires several steps:
Determine new dimensions based on the defined maximum dimensions
Determine which image handling functions are necessary for resampling
Resample the image at the proper size
Begin the process of resizing an image by determining what size the image should actually be. Unfortunately, you can't simply tell your script that all images should be 350 pixels by 240 pixels because forcing an image to match dimensions that aren't proportional to an image's original dimensions causes distortion, which doesn't look good.
Instead, you need to determine the proportional ...
Read now
Unlock full access