Crate png_framing [−] [src]
A simple PNG serialization library.
Structs
Error |
An unknown error. |
Native |
A native C pixel array, allocated using malloc. |
Functions
decode |
Decodes the PNG represented by the given bytes into an RGBA image. |
encode |
Encodes the image as a PNG, allocating memory for the encoded data. |
load |
Loads and decodes at the given file path. |
save |
Saves the image to the given file path as a PNG. |