Page 1 of 1

Transparency in PNG

Posted: Sat Aug 15, 2015 4:04 pm
by rbytes
The documentation mentions that the GRAPHICS SAVE command can save either jpg or PNG image files, and that PNGs can contain transparency information. Is there any way in smartBASIC to generate transparency? I am working on a title editing app, and would like to be able to save a title with the letters on a transparent background.

Re: Transparency in PNG

Posted: Sat Aug 15, 2015 4:09 pm
by Mr. Kibernetik
1) You can clear canvas background with GRAPHICS CLEAR command - and it will become transparent

2) You can use GRAPHICS MODE command for multiple visual effects including transparency

3) When you create sprite - it has transparent background

Re: Transparency in PNG

Posted: Sat Aug 15, 2015 7:32 pm
by rbytes
Thank you.