Help please

Previous topic - Next topic

kamakazieturtle

I searched the forum but couldn't find anything I could understand. Is it possible to save an image as a .png file? If so how would I? O_O

MrTAToad

You've got two options - SAVEBMP will save the screen as a BMP file and SAVESPRITE to save as either a BMP or PNG file.

kamakazieturtle

I've been using save sprite, but before I save it I have to set the transparency to something other than 255,0,128 or else it saves the pink as black. Then when loading the image now, it loads the pink even if I set the transparency back to 255,0,128 before loading the image.

MrTAToad

Sounds like the transparency value is wrong - have a look in Paint and see if the background is pink or black...

kamakazieturtle

No everything was right, I just looked over the code and I needed to load the image with a different transparency so it wouldn't consider the color transparent. Then set the transparency back to pink, and then finally load the image so the final product is transparent again. Just commands in the wrong order, but thanks MrTAToad for your help.

MrTAToad

No problem!