This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
other:uvcdat:notes [2014/10/27 15:09] jypeter created |
other:uvcdat:notes [2014/10/27 16:43] jypeter [Creating a png file] Added draw_white_background |
||
---|---|---|---|
Line 7: | Line 7: | ||
Some problems may be resolved by completely removing this directory (you may want to just rename it, in order to keep a backup) | Some problems may be resolved by completely removing this directory (you may want to just rename it, in order to keep a backup) | ||
+ | |||
+ | ===== Creating a png file ===== | ||
+ | |||
+ | |||
+ | 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 */ |