Well, I tried using Image Magick to resize thumbnails, but it doesn't respect aspect ratios (or at least I couldn't figure out how to make it retain the aspect ratio using the perl interface - or I should say I didn't want to put any effort into this). A week or more ago, I found a simple JPEG thumbnail library called Epeg - it also has a corresponding perl module. Yesterday evening, I worked through getting it compiled and installed, tonight I took it for a test spin. It works easy enough to call good. It does a basic thumbnail reasonably well. I wouldn't call the output great, but it is good enough to get about 80% of my thumbnails done in one quick shot, which is a big help. I can hit the rest with Gimp. Of course, the major drawback is you can only use JPEGs ;(

 

Add to My Yahoo!

Add to Google

Subscribe with Bloglines

Austin Gilbert/Male/26-30. Lives in United States/Oklahoma/Tulsa/Midtown, speaks English. Spends 40% of daytime online. Uses a Fast (128k-512k) connection. And likes computer science/photography.
This is my blogchalk: United States, Oklahoma, Tulsa, Midtown, English, Austin Gilbert, Male, 26-30, computer science, photography.

Thumbnailing JPEGs with Image::Epeg
2006/06/09