metadata: fixed detection of Pentax DNG pixelshift images

(cherry picked from commit 2bdd3a6c5d79dc61fca39ea39ecd90ba9a12dee5)
This commit is contained in:
Alberto Griggio
2019-08-27 05:47:15 -07:00
committed by Lawrence Lee
parent 45acb120a6
commit e5c8ceac5f

View File

@@ -338,7 +338,10 @@ FramesData::FramesData(const Glib::ustring &fname) :
if (
!isHDR
&& find_exif_tag("Exif.Pentax.Quality")
&& (
find_exif_tag("Exif.Pentax.Quality")
|| find_exif_tag("Exif.PentaxDng.Quality")
)
&& (
pos->toLong() == 7
|| pos->toLong() == 8