FastResize is a hack for the gd library that lets gdImageCopyResampled use SIMD instructions (MMX and SSE2 at the moment, but other combinations can be easily added), by operating a (really) fast pre-pass during which the image is scaled down by an arbitrary power of 2, speeding up the resizing process by about 20 times.

Download

FastResize