Trying to extract GPS information results in a TypeError.
I've tried a bunch of GPS-related tags and they all seem to be giving the same.
MWE:
using TestImages, ExifViewer
filepath = testimage("earth_apollo17.jpg", download_only=true)
io = open(filepath, "r")
read_tags(io; read_all=false, tags=["EXIF_TAG_GPS_LATITUDE_REF"])
gives
ERROR: TypeError: in typeassert, expected Vector{ExifViewer.LibExif.ExifTag}, got a value of type Vector{ExifViewer.LibExif.ExifTagGPS}
Stacktrace:
[1] read_tags(data::Vector{…}; ifds::UnitRange{…}, read_all::Bool, tags::Vector{…}, extract_thumbnail::Bool, read_mnote::Bool)
@ ExifViewer ~/.julia/packages/ExifViewer/qSWez/src/read.jl:58
[2] read_tags
@ ~/.julia/packages/ExifViewer/qSWez/src/read.jl:44 [inlined]
[3] read_tags(io::IOStream; kwargs::@Kwargs{read_all::Bool, tags::Vector{String}})
@ ExifViewer ~/.julia/packages/ExifViewer/qSWez/src/read.jl:157
[4] top-level scope
@ REPL[4]:1
Trying to extract GPS information results in a
TypeError.I've tried a bunch of GPS-related tags and they all seem to be giving the same.
MWE:
gives