Creator: update image formats shown in the CLI help #115987
|
@ -306,15 +306,9 @@ char BKE_imtype_from_arg(const char *imtype_arg)
|
|||
if (STREQ(imtype_arg, "IRIS")) {
|
||||
return R_IMF_IMTYPE_IRIS;
|
||||
}
|
||||
if (STREQ(imtype_arg, "DDS")) {
|
||||
return R_IMF_IMTYPE_DDS;
|
||||
}
|
||||
if (STREQ(imtype_arg, "JPEG")) {
|
||||
return R_IMF_IMTYPE_JPEG90;
|
||||
}
|
||||
if (STREQ(imtype_arg, "IRIZ")) {
|
||||
return R_IMF_IMTYPE_IRIZ;
|
||||
}
|
||||
if (STREQ(imtype_arg, "RAWTGA")) {
|
||||
return R_IMF_IMTYPE_RAWTGA;
|
||||
}
|
||||
|
@ -350,9 +344,11 @@ char BKE_imtype_from_arg(const char *imtype_arg)
|
|||
return R_IMF_IMTYPE_MULTILAYER;
|
||||
}
|
||||
#endif
|
||||
#ifdef WITH_FFMPEG
|
||||
if (STREQ(imtype_arg, "FFMPEG")) {
|
||||
return R_IMF_IMTYPE_FFMPEG;
|
||||
}
|
||||
#endif
|
||||
#ifdef WITH_CINEON
|
||||
if (STREQ(imtype_arg, "CINEON")) {
|
||||
return R_IMF_IMTYPE_CINEON;
|
||||
|
|
|
@ -1634,10 +1634,10 @@ static const char arg_handle_image_type_set_doc[] =
|
|||
"<format>\n"
|
||||
"\tSet the render format.\n"
|
||||
"\tValid options are:\n"
|
||||
"\t'TGA' 'RAWTGA' 'JPEG' 'IRIS' 'IRIZ' 'AVIRAW' 'AVIJPEG' 'PNG' 'BMP'.\n"
|
||||
"\t'TGA' 'RAWTGA' 'JPEG' 'IRIS' 'AVIRAW' 'AVIJPEG' 'PNG' 'BMP' 'HDR' 'TIFF'.\n"
|
||||
"\n"
|
||||
"\tFormats that can be compiled into Blender, not available on all systems:\n"
|
||||
"\t'HDR' 'TIFF' 'OPEN_EXR' 'OPEN_EXR_MULTILAYER' 'MPEG' 'CINEON' 'DPX' 'DDS' 'JP2' 'WEBP'.";
|
||||
"\t'OPEN_EXR' 'OPEN_EXR_MULTILAYER' 'FFMPEG' 'CINEON' 'DPX' 'JP2' 'WEBP'.";
|
||||
static int arg_handle_image_type_set(int argc, const char **argv, void *data)
|
||||
{
|
||||
bContext *C = static_cast<bContext *>(data);
|
||||
|
|
Loading…
Reference in New Issue