This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:uvcdat:notes [2014/10/27 16:11] jypeter Added the blank png workaround |
other:uvcdat:notes [2014/10/27 16:43] jypeter [Creating a png file] Added draw_white_background |
||
---|---|---|---|
Line 12: | Line 12: | ||
In CDAT 2.0.beta and 2.0.0, make sure you use ''ignore_alpha=True'', otherwise you will get a completely blank/transparent image!\\ e.g. ''x.png('my_image.png', ignore_alpha=True)'' | In CDAT 2.0.beta and 2.0.0, make sure you use ''ignore_alpha=True'', otherwise you will get a completely blank/transparent image!\\ e.g. ''x.png('my_image.png', ignore_alpha=True)'' | ||
+ | |||
+ | The type of background will be controlled with ''draw_white_background'' in future versions | ||
/* standard page footer */ | /* standard page footer */ |