#include <png.h>
void png_set_bgr(png_structp png_ptr);
void png_set_bgr
png_set_bgr() shall set the pixel order to blue, green, red.