the option for saving images as jpeg2000 was missing

This commit is contained in:
2009-05-29 13:33:33 +00:00
parent 6ee8067189
commit 092b13ef3a

View File

@@ -2393,7 +2393,7 @@ void replace_image_sima(short imageselect)
static char *filesel_imagetype_string(Image *ima)
{
char *strp, *str= MEM_callocN(14*32, "menu for filesel");
char *strp, *str= MEM_callocN(15*32, "menu for filesel");
strp= str;
str += sprintf(str, "Save Image as: %%t|");
@@ -2402,6 +2402,9 @@ static char *filesel_imagetype_string(Image *ima)
str += sprintf(str, "PNG %%x%d|", R_PNG);
str += sprintf(str, "BMP %%x%d|", R_BMP);
str += sprintf(str, "Jpeg %%x%d|", R_JPEG90);
#ifdef WITH_OPENJPEG
str += sprintf(str, "Jpeg 2000 %%x%d|", R_JP2);
#endif
str += sprintf(str, "Iris %%x%d|", R_IRIS);
if(G.have_libtiff)
str += sprintf(str, "Tiff %%x%d|", R_TIFF);