[gimp/gimp-2-10] plug-ins: fix last commit
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: fix last commit
- Date: Thu, 4 Jun 2020 17:48:49 +0000 (UTC)
commit a28b865a8095f7fc2539cf382cb0b21a105ae16c
Author: Ell <ell_se yahoo com>
Date: Thu Jun 4 20:48:20 2020 +0300
plug-ins: fix last commit
plug-ins/twain/twain.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plug-ins/twain/twain.c b/plug-ins/twain/twain.c
index ea26d4f746..707d3649b3 100644
--- a/plug-ins/twain/twain.c
+++ b/plug-ins/twain/twain.c
@@ -601,6 +601,7 @@ beginTransferCallback (pTW_IMAGEINFO imageInfo,
/* Set up the image and layer types */
imageType = GIMP_RGB;
layerType = GIMP_RGB_IMAGE;
+ precision = GIMP_PRECISION_U8_GAMMA;
format = babl_format ("R'G'B' u8");
break;
@@ -609,6 +610,7 @@ beginTransferCallback (pTW_IMAGEINFO imageInfo,
/* Set up the image and layer types */
imageType = GIMP_GRAY;
layerType = GIMP_GRAY_IMAGE;
+ precision = GIMP_PRECISION_U8_GAMMA;
format = babl_format ("Y' u8");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]