|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
libpng file output utility wrapper. More...
Go to the source code of this file.
Functions | |
| int | Png_WriteRgbaImage (const char *path, const RgbaColor *pixels, int width, int height) |
| Writes an RGBA pixel buffer to a standard PNG file. More... | |
| int | Png_WriteRgbaImageScaled (const char *path, const RgbaColor *pixels, int width, int height, int scale) |
| Writes an RGBA pixel buffer scaled by a scaling factor to a PNG. More... | |
libpng file output utility wrapper.
| int Png_WriteRgbaImage | ( | const char * | path, |
| const RgbaColor * | pixels, | ||
| int | width, | ||
| int | height | ||
| ) |
Writes an RGBA pixel buffer to a standard PNG file.
| path | File path to save the PNG. |
| pixels | Source RGBA pixels buffer. |
| width | Width of image. |
| height | Height of image. |
| int Png_WriteRgbaImageScaled | ( | const char * | path, |
| const RgbaColor * | pixels, | ||
| int | width, | ||
| int | height, | ||
| int | scale | ||
| ) |
Writes an RGBA pixel buffer scaled by a scaling factor to a PNG.
| path | File path to save. |
| pixels | Source RGBA pixels. |
| width | Canvas width before scaling. |
| height | Canvas height before scaling. |
| scale | Bilinear scale multiplier. |