Improve Sony Pixel Shift support

Detect images created by make_arq as pixel shift.
Add raw crop for Sony ILCE-7CR pixel shift.
This commit is contained in:
Lawrence Lee
2024-10-07 21:10:16 -07:00
parent 00360a6dbb
commit eac9cdaa00
3 changed files with 9 additions and 3 deletions

View File

@@ -785,7 +785,7 @@ FramesData::FramesData(const Glib::ustring &fname, time_t ts) :
find_exif_tag("Exif.SubImage1.Compression") && to_long(pos) == 1) {
isPixelShift = true;
}
} else if (bps != exif.end() && to_long(bps) == 14 &&
} else if (bps != exif.end() && (to_long(bps) == 14 || to_long(bps) == 16) &&
spp != exif.end() && to_long(spp) == 4 &&
c != exif.end() && to_long(c) == 1 &&
find_exif_tag("Exif.Image.Software") &&