Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read MNOTE data #30

Open
VLucet opened this issue Aug 26, 2024 · 0 comments
Open

Unable to read MNOTE data #30

VLucet opened this issue Aug 26, 2024 · 0 comments

Comments

@VLucet
Copy link

VLucet commented Aug 26, 2024

I have some images with MakerNotes data:

exiftool -G ~/Desktop/WILDLab_TC1_P355_P355-2_WLU-177_2022-08-21_045209.000.jpg
[ExifTool]      ExifTool Version Number         : 12.51
[File]          File Name                       : WILDLab_TC1_P355_P355-2_WLU-177_2022-08-21_045209.000.jpg
[File]          Directory                       : /home/vlucet/Desktop
[File]          File Size                       : 291 kB
[File]          File Modification Date/Time     : 2024:07:11 15:28:55-04:00
[File]          File Access Date/Time           : 2024:07:11 15:28:55-04:00
[File]          File Inode Change Date/Time     : 2024:08:26 12:00:23-04:00
[File]          File Permissions                : -rw-rw-r--
[File]          File Type                       : JPEG
[File]          File Type Extension             : jpg
[File]          MIME Type                       : image/jpeg
[File]          Exif Byte Order                 : Little-endian (Intel, II)
[File]          Image Width                     : 2048
[File]          Image Height                    : 1440
[File]          Encoding Process                : Baseline DCT, Huffman coding
[File]          Bits Per Sample                 : 8
[File]          Color Components                : 3
[File]          Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
[EXIF]          Make                            : RECONYX
[EXIF]          Camera Model Name               : HF2 PRO COVERT
[EXIF]          X Resolution                    : 72
[EXIF]          Y Resolution                    : 72
[EXIF]          Resolution Unit                 : inches
[EXIF]          Modify Date                     : 2022:08:21 04:52:09
[EXIF]          Y Cb Cr Positioning             : Co-sited
[EXIF]          Exposure Time                   : 1/120
[EXIF]          ISO                             : 1600
[EXIF]          Exif Version                    : 0220
[EXIF]          Date/Time Original              : 2022:08:21 04:52:09
[EXIF]          Create Date                     : 2022:08:21 04:52:09
[EXIF]          Time Zone Offset                : 0
[EXIF]          Components Configuration        : Y, Cb, Cr, -
[EXIF]          Flashpix Version                : 0100
[EXIF]          Color Space                     : sRGB
[EXIF]          Exif Image Width                : 2048
[EXIF]          Exif Image Height               : 1440
[EXIF]          Exposure Mode                   : Auto
[EXIF]          White Balance                   : Manual
[EXIF]          Scene Capture Type              : Night
[MakerNotes]    File Number                     : 816
[MakerNotes]    Directory Number                : 100
[MakerNotes]    Firmware Version                : 1.0a
[MakerNotes]    Firmware Date                   : 2022:02:02
[MakerNotes]    Trigger Mode                    : Motion Detection
[MakerNotes]    Sequence                        : 1 of 5
[MakerNotes]    Event Number                    : 146
[MakerNotes]    Day Of Week                     : Monday
[MakerNotes]    Moon Phase                      : Last Quarter
[MakerNotes]    Ambient Temperature Fahrenheit  : 55 F
[MakerNotes]    Ambient Temperature             : 13 C
[MakerNotes]    Contrast                        : 128
[MakerNotes]    Brightness                      : 0
[MakerNotes]    Sharpness                       : 128
[MakerNotes]    Saturation                      : 0
[MakerNotes]    Flash                           : On
[MakerNotes]    Ambient Infrared                : 0
[MakerNotes]    Ambient Light                   : 0
[MakerNotes]    Motion Sensitivity              : 90
[MakerNotes]    Battery Voltage                 : 9389
[MakerNotes]    Battery Voltage Avg             : 9899
[MakerNotes]    Battery Type                    : 1
[MakerNotes]    User Label                      : WLU-177
[MakerNotes]    Serial Number                   : HLPXLP11135629
[Composite]     Image Size                      : 2048x1440
[Composite]     Megapixels                      : 2.9
[Composite]     Shutter Speed                   : 1/120

Yet exifviewer cannot read them:

julia> read_tags("/home/vlucet/Desktop/WILDLab_TC1_P355_P355-2_WLU-177_2022-08-21_045209.000.jpg"; read_mnote=true)
ERROR: Unable to read MNOTE data
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] read_tags(data::Vector{UInt8}; ifds::UnitRange{Int64}, read_all::Bool, tags::Vector{ExifViewer.LibExif.ExifTag}, extract_thumbnail::Bool, read_mnote::Bool)
   @ ExifViewer ~/.julia/packages/ExifViewer/3K1j0/src/read.jl:116
 [3] read_tags
   @ ~/.julia/packages/ExifViewer/3K1j0/src/read.jl:44 [inlined]
 [4] #3
   @ ~/.julia/packages/ExifViewer/3K1j0/src/read.jl:151 [inlined]
 [5] open(::ExifViewer.var"#3#4"{@Kwargs{read_mnote::Bool}}, ::String, ::Vararg{String}; kwargs::@Kwargs{})
   @ Base ./io.jl:396
 [6] open
   @ ./io.jl:393 [inlined]
 [7] #read_tags#2
   @ ~/.julia/packages/ExifViewer/3K1j0/src/read.jl:150 [inlined]
 [8] top-level scope
   @ REPL[16]:1

Image added as example. Using latest version 0.1.4.

WILDLab_TC1_P355_P355-2_WLU-177_2022-08-21_045209 000

@YoungAgile
Copy link

Why? I'm not clicking on a random link to download a random file... @ashwani-rathee I believe this might be a phishing attempt. I've reported it but maybe you should block and delete this comment.

Sorry, the account has been hacked. Please do not click on this link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants