[gimp] plug-ins: fix tiff load of grayscale images without alpha.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix tiff load of grayscale images without alpha.
- Date: Mon, 17 Jun 2019 19:48:29 +0000 (UTC)
commit 348c9c22d08e934dc21b7d49f5f75238a7aea356
Author: Jehan <jehan girinstud io>
Date: Mon Jun 17 21:38:49 2019 +0200
plug-ins: fix tiff load of grayscale images without alpha.
Though we were checking the profile, both code paths were importing
from non-linear data.
plug-ins/file-tiff/file-tiff-load.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c
index d950c4448e..645649b40d 100644
--- a/plug-ins/file-tiff/file-tiff-load.c
+++ b/plug-ins/file-tiff/file-tiff-load.c
@@ -611,9 +611,9 @@ load_image (GFile *file,
{
if (profile_linear)
{
- base_format = babl_format_new (babl_model ("Y'"),
+ base_format = babl_format_new (babl_model ("Y"),
type,
- babl_component ("Y'"),
+ babl_component ("Y"),
NULL);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]