class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Structurally speaking, the class cannot deal with animated GIFs. I can maybe detect the animated GIFs, but the class cannot apply graphic manipulation on each layer of the animated GIF.
So for now, the class can only upload animated GIFs as regular files, or do graphic processing on the GIF image, but removing the animation.Reply
That's fine - I did some command line testing with the convert program (part of ImageMagick).
The original file is 2.1MB, 400x400px. A resized version (to 100px by 100px) is 678kb Further crunching can get it down to 320K but it's starting to look pretty bad.
The effort/result ratio is too high for my purposes.
Cheers,
- Bob -
ps. Can you increase the font size on the forum post form (it's 0.8em). pps. Did you know that replies to topics don't appear in the RSS feed? Can that be changed?Reply
So for now, the class can only upload animated GIFs as regular files, or do graphic processing on the GIF image, but removing the animation.
The original file is 2.1MB, 400x400px.
A resized version (to 100px by 100px) is 678kb
Further crunching can get it down to 320K but it's starting to look pretty bad.
The effort/result ratio is too high for my purposes.
Cheers,
- Bob -
ps. Can you increase the font size on the forum post form (it's 0.8em).
pps. Did you know that replies to topics don't appear in the RSS feed? Can that be changed?