comparison libinterp/corefcn/__tiff__.cc @ 31195:f8baeb850b36

Tiff: Moved PKG_ADD logic to Tiff.m.
author magedrifaat <magedrifaat@gmail.com>
date Tue, 30 Aug 2022 20:32:50 +0200
parents 0cdb7f35641e
children 1da6d747bf78
comparison
equal deleted inserted replaced
31194:0cdb7f35641e 31195:f8baeb850b36
140 return ov.isnumeric () && ov.isreal () && ov.isfloat () 140 return ov.isnumeric () && ov.isreal () && ov.isfloat ()
141 && ov.ndims () == 2 && ov.columns () == 3; 141 && ov.ndims () == 2 && ov.columns () == 3;
142 } 142 }
143 143
144 // A map of tag names supported by matlab, there are some differences 144 // A map of tag names supported by matlab, there are some differences
145 // than LibTIFF's names (e.g. Photometric vs PhotometricInerpretation) 145 // than LibTIFF's names (e.g. Photometric vs PhotometricInterpretation)
146 static const std::map<std::string, ttag_t> tag_name_map = { 146 static const std::map<std::string, ttag_t> tag_name_map = {
147 {"SubFileType", 254}, 147 {"SubFileType", 254},
148 {"ImageWidth", 256}, 148 {"ImageWidth", 256},
149 {"ImageLength", 257}, 149 {"ImageLength", 257},
150 {"BitsPerSample", 258}, 150 {"BitsPerSample", 258},