plug-ins, TIFF: Don't try to load image with bit depth we can't handle.

This commit is contained in:
Jacob Boerema 2021-03-04 12:42:59 -05:00
parent a6d4ef8b94
commit a79aac687b
1 changed files with 3 additions and 6 deletions

View File

@ -561,12 +561,9 @@ load_image (GFile *file,
break; break;
default: default:
if (profile_linear) g_message (_("Unsupported bit depth: %d for page %d."),
image_precision = GIMP_PRECISION_U16_LINEAR; bps, li+1);
else continue;
image_precision = GIMP_PRECISION_U16_NON_LINEAR;
type = babl_type ("u16");
} }
g_printerr ("bps: %d\n", bps); g_printerr ("bps: %d\n", bps);