app: "fix" the format of the indexed component
to be "Y u8", so it at least extracts something reasonable.
This commit is contained in:
@ -2126,7 +2126,8 @@ gimp_image_get_component_format (const GimpImage *image,
|
|||||||
GRAY);
|
GRAY);
|
||||||
|
|
||||||
case GIMP_INDEXED_CHANNEL:
|
case GIMP_INDEXED_CHANNEL:
|
||||||
return babl_format ("Y' u8"); /* XXX: seems wrong */
|
return babl_format ("Y u8"); /* will extract grayscale, the best
|
||||||
|
* we can do here */
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user