Reputation: 17131
I need some PHP classes that deal with image processing in a good manner. I have made a thumbnail creator myself but the end result quality is just horrible.
Is it also possible to let PHP convert and save all images to one type. For example take an image(jpg,png,gif), compress it, resize it, and save as png.
Can anyone recommend some good classes for this.
Upvotes: 1
Views: 7386
Reputation: 130
Check out https://github.com/avalanche123/Imagine, given you use PHP 5.3, it will solve most of your image processing needs
Upvotes: 3
Reputation: 1469
If you have access to command-line i'd recommend image magic. The comman-line version has the advantage that it includes several features for batch processing.
Upvotes: 0
Reputation: 158007
You can take a look at this one
http://shiftingpixel.com/2008/03/03/smart-image-resizer/
Upvotes: 2
Reputation: 101261
You can look into the php gd library, or imageMagick, which has bindings for php.
Upvotes: 0