- if(!strcmp(compression_to_str(FileEXR::NONE), string))
- return FileEXR::NONE;
- if(!strcmp(compression_to_str(FileEXR::PIZ), string))
- return FileEXR::PIZ;
- if(!strcmp(compression_to_str(FileEXR::ZIP), string))
- return FileEXR::ZIP;
- if(!strcmp(compression_to_str(FileEXR::ZIPS), string))
- return FileEXR::ZIPS;
- if(!strcmp(compression_to_str(FileEXR::RLE), string))
- return FileEXR::RLE;
- if(!strcmp(compression_to_str(FileEXR::PXR24), string))
- return PXR24;
- return FileEXR::NONE;
+ if( !strcmp(compression_to_str(NONE), string) ) return NONE;
+ if( !strcmp(compression_to_str(PIZ), string) ) return PIZ;
+ if( !strcmp(compression_to_str(ZIP), string) ) return ZIP;
+ if( !strcmp(compression_to_str(ZIPS), string) ) return ZIPS;
+ if( !strcmp(compression_to_str(RLE), string) ) return RLE;
+ if( !strcmp(compression_to_str(RLE), string) ) return B44;
+ if( !strcmp(compression_to_str(RLE), string) ) return B44A;
+ if( !strcmp(compression_to_str(RLE), string) ) return DWAA;
+ if( !strcmp(compression_to_str(RLE), string) ) return DWAB;
+ if( !strcmp(compression_to_str(PXR24),string) ) return PXR24;
+ return NONE;