comparison OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp @ 4902:df86d2505df8

Orthanc 1.9.8 is now known as Orthanc 1.10.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 20 Feb 2022 16:57:43 +0100
parents 43e613a7756b
children 5e7404f23fa8
comparison
equal deleted inserted replaced
4901:0bb73ef7cf07 4902:df86d2505df8
541 **/ 541 **/
542 542
543 bool fastVersionSuccess = false; 543 bool fastVersionSuccess = false;
544 PixelFormat sourceFormat; 544 PixelFormat sourceFormat;
545 if (!info.IsPlanar() && 545 if (!info.IsPlanar() &&
546 info.GetBitsStored() != 1 && // Black-and-white image, notably DICOM SEG (new in Orthanc 1.9.8) 546 info.GetBitsStored() != 1 && // Black-and-white image, notably DICOM SEG (new in Orthanc 1.10.0)
547 info.ExtractPixelFormat(sourceFormat, false)) 547 info.ExtractPixelFormat(sourceFormat, false))
548 { 548 {
549 try 549 try
550 { 550 {
551 size_t frameSize = info.GetHeight() * info.GetWidth() * GetBytesPerPixel(sourceFormat); 551 size_t frameSize = info.GetHeight() * info.GetWidth() * GetBytesPerPixel(sourceFormat);