mirror of https://github.com/GNOME/gimp.git
app: fix the image's projection to 8 bit until we got a GEGL projection
This commit is contained in:
parent
a34afd63d8
commit
ccbd46afce
|
@ -1291,10 +1291,20 @@ gimp_image_get_proj_format (GimpProjectable *projectable)
|
|||
{
|
||||
case GIMP_RGB:
|
||||
case GIMP_INDEXED:
|
||||
#if 0
|
||||
/* XXX use real format once the legacy projection is gone */
|
||||
return gimp_image_get_format (image, GIMP_RGB, TRUE);
|
||||
#else
|
||||
return babl_format ("R'G'B'A u8");
|
||||
#endif
|
||||
|
||||
case GIMP_GRAY:
|
||||
#if 0
|
||||
/* XXX use real format once the legacy projection is gone */
|
||||
return gimp_image_get_format (image, GIMP_GRAY, TRUE);
|
||||
#else
|
||||
return babl_format ("Y'A u8");
|
||||
#endif
|
||||
}
|
||||
|
||||
g_assert_not_reached ();
|
||||
|
|
Loading…
Reference in New Issue