
Image resizing was one thing which I wanted to implement right from the beginning. Yesterday that came true. A big obstacle was to find a simple python code, which can resize images. And quite surprisingly, I cudn't find one! The nearest thing was huge Python Imaging Library (PIL), which interestingly chucked out EXIF data from images while resizing. Now that's sad!
So, anws, I moved onto a linux solution to the prob. Imagemagick's convert command resized the photos while retaining both the sharpness, as well as the EXIF data. Integrated that as a os.system call in the fs, while allowing a dropback to original size in case the package is not installed. Though, installing it is just a 2-mins job ;).
I have posted on the flickrfs-users list to check out bugs before I release this version as a stable one. Do try it out from cvs. And as always, any feedback is welcome :).
No comments:
Post a Comment