|
|
@@ -90,6 +90,8 @@ extern "C" int pipi_save_gdiplus(pipi_image_t *img, const char *name) |
|
|
|
fmt = L"image/png"; |
|
|
|
else if(strstr(name, ".tiff")) |
|
|
|
fmt = L"image/tiff"; |
|
|
|
else /* if(strstr(name, ".bmp")) */ |
|
|
|
fmt = L"image/bmp"; |
|
|
|
|
|
|
|
unsigned int num = 0, size = 0; |
|
|
|
Gdiplus::GetImageEncodersSize(&num, &size); |
|
|
|