Page 1 of 1

Resizing followed by applying transparency!

Posted: Tue Oct 17, 2006 1:31 am
by Flamie
I'm having some problems with something I'm trying to do:
I have a .PNG of an enemy:
http://wormsrenegade.com/worms/images/E ... rgfish.PNG this for exemple.
So I'm trying to do a script to resize it while keeping the background ENTIRELY of the same color, so that when I do imagecolortransparent there arent pixels around the monster that have "dithered" and changed colors.

Any ideas? :(

Edit: Forgot to mention I wanna keep the image as clear and smooth as possible.