c++ - Getting capture date of heic image -


i using nokiatech heif api (github.com/nokiatech/heif) process heic files produced ios betas.

i able tiles , metadata rotation , dimensions, unable locate capture date of image. found timestamp functions complain "forced fps not set meta context" leads me think these functions related tracks , not items.

any appreciated.

edit:

so there typo in documentation getreferencedtoitemlistbytype (and getreferencedfromitemlistbytype), says takes "cdcs" referencetype parameter. ofcource "cdsc" (content describe).

so metadata blob stil image of can following:

reader.getitemlistbytype(contextid, "grid", griditemids); imagefilereaderinterface::idvector cdscitemids; reader.getreferencedtoitemlistbytype(contextid, griditemids.at(0), "cdsc", cdscitemids); imagefilereaderinterface::datavector data; reader.getitemdata(contextid, cdscitemids.at(0), data); 

then need decode exif. can use exiftool cli or api exiv2.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -