mirror of https://github.com/GNOME/gimp.git
plug-ins, TIFF: Don't try to load image with bit depth we can't handle.
This commit is contained in:
parent
a6d4ef8b94
commit
a79aac687b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue