Function aci_png::encode
[−]
[src]
pub fn encode(graphic: Graphic, alpha: bool) -> Vec<u8>
Encode PNG data. Set alpha
to true
if you want to save the alpha
channel.