A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 4: Plug-in 16 - Image Enlarge

To achieve a smoother enlargement this plug-in resamples an original image upwards just a little at a time, spreading the color and brightness smoothly at each enlargement, until the desired final dimensions are reached.

The Figure shows a original thumbnail of 100 x 75 pixels that has been resampled in a single pass. While the image on the right was passed through the Image Enlarge plug-in and, as you can see from the insets, there is almost no pixelation.