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.
have updated from 0.19 to 0.24 now the resizing of GIF's won't work correct for me when preserve_transparency is set to true: the Image itself will be resized, but in a Image of the Original Size
Sample. Original Size is 567 x 403 px after resizing I get a Image with the same Size with a little Image inside
for now I did a downgrade to old Version :( cause with the 'Patch' I got reduced Colors in the Images. I'll wait for the next Release - thanx for your SupportReply
Re: Resize of Image when preserve_transparency = true new!
now the resizing of GIF's won't work correct for me when preserve_transparency is set to true: the Image itself will be resized, but in a Image of the Original Size
Sample. Original Size is 567 x 403 px
after resizing I get a Image with the same Size with a little Image inside
Original: http://sdfiles.serveftp.net/picture/original.gif
Resized with transparency=true: http://sdfiles.serveftp.net/picture/resized1.gif
and with false: http://sdfiles.serveftp.net/picture/resized2.gif
with old Version it worked properly
what do I miss ?
thanx Horst
I am working on it at the moment, and hope to release something soon. I don't have much time right now, so... I don't know when it will be ready.
Thank you for your samples and tests, it will be useful.
where some Values comes out of my CMS, but think that they are valid - all other Variables are 'Default'
Before I can release the new version, as a quick fix, you can comment out the block of code just under the following line:
for now I did a downgrade to old Version :(
cause with the 'Patch' I got reduced Colors in the Images.
I'll wait for the next Release - thanx for your Support
Sorry about the inconvenience. The new release will be done ASAP, but I am lacking of time at the moment.
sehr goodie :) i love you for writing such a complete class
Try to use the 0.25 RC1, that you can find here. It is far better when dealing with transparent images.
If you have any problem with 0.25, let me know, so I can fix it before the official release.