Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Downloaded/installed patch 4.1-set image colorkey no longer works

Author
Message
warzog
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: United States
Posted: 20th May 2003 13:52
I downloaded, and installed, Patch 4.1 this morning.
I ran the program I'm working on, and ALL of the sprites have Black Squares around them.
Changing the values of, or even deleting the "set image colorkey" command has no effect. I normally use values of "0".
And both my regular, and animated sprites have the black square around them.
No other adverse affects were noted.
There does appear to be a bit of an improvement in the image quality of the animated sprites.
Until this patch, parts of the sprites that should've been visible, were made transparent, now they're visible, as they should be.
Whether that is due to the "set image colorkey" no longer working, or not, is not known at this time.
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th May 2003 15:04
What type of images are you using (bmp, jpg, png, tga) ?
warzog
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: United States
Posted: 20th May 2003 15:10
PNG images
Why?
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th May 2003 15:51
I believe that TGA and PNG format files ignore the SET IMAGE COLORKEY settings (although I can't find the conversation now ).

The reason? Because they already have their own way of doing alpha.

Just change your black areas to a true clear value (alpha level 0) and that should sort it out.
Eponick
21
Years of Service
User Offline
Joined: 18th Mar 2003
Location:
Posted: 21st May 2003 04:17
Heh, just open the image up in MSPaint and save it as a .bmp =P

warzog
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: United States
Posted: 21st May 2003 09:42
Well, using BMP images work, like the PNG did before, but they're 9 times the size!
Instead of less than 2.1mb in total, now it's over 18.9mb!!!
Sassafrassafranastan!!!

I Want my PNG's back!!!
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st May 2003 10:40
Load them into a bitmap and use get image to grab them back. That should lose the alpha channel and give you color key back.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 21st May 2003 20:44
You need a decent program that can save png transparancy.
Mspaint isn't up to it unfortunatly.
I have used gimp http://www.gimp.org/~tml/gimp/win32/
I would think practically any recent image editor other than mspaint should be able to do it.
warzog
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: United States
Posted: 25th May 2003 09:55
Well, first off, MSPaint can't convert to PNG.

However, I'd never even thought about saving the animation pages WITH the transparency.

It works!
Thanks for the idea!

Login to post a reply

Server time is: 2024-04-24 03:43:21
Your offset time is: 2024-04-24 03:43:21