mirror of https://github.com/GNOME/gimp.git
app: "fix" the format of the indexed component
to be "Y u8", so it at least extracts something reasonable.
This commit is contained in:
parent
252ba10537
commit
28c2fdc9d5
|
@ -2126,7 +2126,8 @@ gimp_image_get_component_format (const GimpImage *image,
|
|||
GRAY);
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue