[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/calligra/2.9] krita/plugins/formats/tiff: Disable opening 32bit float grayscale TIFF since
From: Cyrille Berger <cberger () cberger ! net>
Date: 2015-04-14 16:05:48
Message-ID: E1Yi3LQ-0000HA-NJ () scm ! kde ! org
[Download RAW message or body]
Git commit 7576870d6ecab6cdb133b41916ce2bd4734528a9 by Cyrille Berger.
Committed on 14/04/2015 at 16:05.
Pushed by berger into branch 'calligra/2.9'.
Disable opening 32bit float grayscale TIFF since they crash
CCBUG: 344334
M +3 -0 krita/plugins/formats/tiff/kis_tiff_converter.cc
http://commits.kde.org/calligra/7576870d6ecab6cdb133b41916ce2bd4734528a9
diff --git a/krita/plugins/formats/tiff/kis_tiff_converter.cc b/krita/plugins/formats/tiff/kis_tiff_converter.cc
index 60e299f..dcf124f 100644
--- a/krita/plugins/formats/tiff/kis_tiff_converter.cc
+++ b/krita/plugins/formats/tiff/kis_tiff_converter.cc
@@ -54,6 +54,9 @@ QPair<QString, QString> getColorSpaceForColorType(uint16 sampletype, uint16 colo
if (color_type == PHOTOMETRIC_MINISWHITE || color_type == PHOTOMETRIC_MINISBLACK) {
if (nbchannels == 0) nbchannels = 1;
extrasamplescount = nbchannels - 1; // FIX the extrasamples count in case of
+ if (sampletype == SAMPLEFORMAT_IEEEFP) {
+ return QPair<QString, QString>();
+ }
if (color_nb_bits <= 8) {
destDepth = 8;
return QPair<QString, QString>(GrayAColorModelID.id(), Integer8BitsColorDepthID.id());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic