#ifndef FACEDET_IMAGE_H #define FACEDET_IMAGE_H /* Decodes JPEG or PNG to interleaved RGB8, without alpha, orientation, or * color-profile transforms. Each dimension is limited to 4096 pixels. * Returns NULL on failure; the caller releases a successful result with free. */ unsigned char *image_read_rgb(const char *path, int *width, int *height); #endif