Creator: update image formats shown in the CLI help
Update the command line help message to reflect the actual image output formats available. Remove mention of IRIZ and DDS, rename MPEG to FFMPEG. HDR and TIFF are always valid now. Pull Request: https://projects.blender.org/blender/blender/pulls/115987
This commit is contained in:
committed by
Harley Acheson
parent
f42071c793
commit
a1efde2727
@@ -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;
|
||||
|
||||
@@ -1635,10 +1635,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);
|
||||
|
||||
Reference in New Issue
Block a user