"export_for_4chan":OptionInfo(True,"If the saved image file size is above the limit, or its either width or height are above the limit, save a downscaled copy as JPG"),
"img_downscale_threshold":OptionInfo(4.0,"File size limit for the above option, MB",gr.Number),
"target_side_length":OptionInfo(4000,"Width/height limit for the above option, in pixels",gr.Number),
"img_max_size_mp":OptionInfo(200,"Maximum image size, in megapixels",gr.Number),
"use_original_name_batch":OptionInfo(True,"Use original name for output filename during batch process in extras tab"),
"use_upscaler_name_as_suffix":OptionInfo(False,"Use upscaler name as filename suffix in the extras tab"),
assertgrid_mp<opts.img_max_size_mp,f'Error: Resulting grid would be too large ({grid_mp} MPixels) (max configured size is {opts.img_max_size_mp} MPixels)'