app: "fix" the format of the indexed component

to be "Y u8", so it at least extracts something reasonable.
This commit is contained in:
Michael Natterer 2012-04-30 01:22:49 +02:00
parent 252ba10537
commit 28c2fdc9d5
1 changed files with 2 additions and 1 deletions

View File

@ -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;