Transparency in PNG
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Transparency in PNG
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.
The only thing that gets me down is gravity...
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Transparency in PNG
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
2) You can use GRAPHICS MODE command for multiple visual effects including transparency
3) When you create sprite - it has transparent background