From 28c2fdc9d5c2e1858138606f196c9f7baf6a2d69 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 30 Apr 2012 01:22:49 +0200 Subject: [PATCH] app: "fix" the format of the indexed component to be "Y u8", so it at least extracts something reasonable. --- app/core/gimpimage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c index 8f23b7d761..8ca7ecfac6 100644 --- a/app/core/gimpimage.c +++ b/app/core/gimpimage.c @@ -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;