Author: post
Date: 2012-01-26 13:28:21 +0100 (Thu, 26 Jan 2012)
New Revision: 405
Modified:
RawSpeed/DngDecoder.cpp
Log:
Don't bail out on uncompressed DNG's in multiple colors, if they are actually
decodeable.
Modified: RawSpeed/DngDecoder.cpp
===================================================================
--- RawSpeed/DngDecoder.cpp 2012-01-15 18:20:56 UTC (rev 404)
+++ RawSpeed/DngDecoder.cpp 2012-01-26 12:28:21 UTC (rev 405)
@@ -167,7 +167,8 @@
if (!mRaw->isCFA)
{
uint32 cpp = raw->getEntry(SAMPLESPERPIXEL)->getInt();
- ThrowRDE("DNG Decoder: More than 4 samples per pixel is not
supported.");
+ if (cpp > 4)
+ ThrowRDE("DNG Decoder: More than 4 samples per pixel is not
supported.");
mRaw->setCpp(cpp);
}
uint32 nslices = raw->getEntry(STRIPOFFSETS)->count;
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit