From f1027ea218a60c8b6394bdab711ccced049372ba Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 11 Aug 2022 02:17:58 -0700 Subject: [PATCH] readd pgx+mono2 code path --- Source/MediaStorageAndFileFormat/gdcmPGXCodec.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MediaStorageAndFileFormat/gdcmPGXCodec.cxx b/Source/MediaStorageAndFileFormat/gdcmPGXCodec.cxx index 3b1d71f21..88f3cf1f4 100644 --- a/Source/MediaStorageAndFileFormat/gdcmPGXCodec.cxx +++ b/Source/MediaStorageAndFileFormat/gdcmPGXCodec.cxx @@ -62,8 +62,8 @@ bool PGXCodec::Write(const char *filename, const DataElement &out) const "You need to decompress first." ); return false; } +#if 1 gdcm::PhotometricInterpretation pi = this->GetPhotometricInterpretation(); -#if 0 if( pi != gdcm::PhotometricInterpretation::MONOCHROME2 ) { gdcmErrorMacro( "Bogus PI" << pi ); return false;