Feb 21 2009

imagecopyresample vs. imagecopyresize

Well, recently I was improving a php gallery when I came across the task to improve the quality of thumbnail images. As a matter of fact, I’m not into graphic editing at all, so I was glad that replacing imagecopyresize() with imagecopyresample() solved the problem quite nicely.

See for yourself:

thumbnail created with imagecopyresized()

thumbnail created with imagecopyresized()

thumbnail created with imagecopyresaple()

thumbnail created with imagecopyresaple()

all thumbnails generated from photographs by LOKOMOTIV Fotografie