|
|
@@ -50,6 +50,9 @@ pipi_image_t *pipi_load_imlib2(const char *name) |
|
|
|
img->codec_priv = (void *)priv; |
|
|
|
img->codec_format = PIPI_PIXELS_RGBA32; |
|
|
|
|
|
|
|
img->wrap = 0; |
|
|
|
img->u8 = 1; |
|
|
|
|
|
|
|
return img; |
|
|
|
} |
|
|
|
|
|
|
@@ -86,6 +89,9 @@ void pipi_save_imlib2(pipi_image_t *img, const char *name) |
|
|
|
|
|
|
|
img->codec_priv = (void *)priv; |
|
|
|
img->codec_format = PIPI_PIXELS_RGBA32; |
|
|
|
|
|
|
|
img->wrap = 0; |
|
|
|
img->u8 = 1; |
|
|
|
} |
|
|
|
|
|
|
|
pipi_getpixels(img, img->codec_format); |
|
|
|