Module picto::write[][src]

Expand description

Image encoding functions.

Functions

Write a BMP image to an output stream, with the ability to set the parameters on the encoder.

Write a GIF image to an output stream, with the ability to set the parameters on the encoder.

Write a PNG image to an output stream, with the ability to set the parameters on the encoder.

Write a TGA image to an output stream, with the ability to set the parameters on the encoder.

Write the buffer to the output stream in PNG format.

Write the buffer to the given path guessing the format based on the file extension.

Write the buffer to the output stream using the given format.