62 if (12 != bits && 14 != bits)
63 ThrowRDE(
"Unsupported bits per sample");
65 if (32769 != compression && 32770 != compression && 32772 != compression &&
71 ThrowRDE(
"Only one slice supported, found %u", nslices);
73 if (
const auto wrongComp =
74 32770 == compression && !raw->hasEntry(
static_cast<TiffTag>(40976));
75 32769 == compression || wrongComp) {
76 bool bit_order =
hints.get(
"msb_override", wrongComp ? bits == 12 :
false);
85 if (32770 == compression) {
107 if (32772 == compression) {
121 if (32773 == compression) {
135 ThrowRDE(
"Unsupported compression");
float getFloat(uint32_t index=0) const
uint32_t getU32(uint32_t index=0) const