In continuation of #25, some bugs are observed:
using ExifViewer, TestImages
img = testimage("mandril")
tags = Dict("EXIF_TAG_USER_COMMENT" => "foo 12345") # this comment is plain ASCII, so it should work ?
write_tags("test.jpg"; img, tags)
for (k, v) in read_tags("test.jpg")
println("$k=$v") # missing `EXIF_TAG_USER_COMMENT`
end
EXIF_TAG_COLOR_SPACE=Uncalibrated
EXIF_TAG_COMPONENTS_CONFIGURATION=Y Cb Cr -
EXIF_TAG_FLASH_PIX_VERSION=FlashPix Version 1.0
EXIF_TAG_Y_RESOLUTION=72
EXIF_TAG_EXIF_VERSION=Exif Version 2.1
EXIF_TAG_RESOLUTION_UNIT=Inch
EXIF_TAG_YCBCR_POSITIONING=Centered
EXIF_TAG_X_RESOLUTION=72
# ==> on current `main` branch, missing `EXIF_TAG_USER_COMMENT`
Could this be GC.@preserve related ?
Also missing on the command line, so this is a write issue:
$ exif test.jpg
EXIF tags in 'test.jpg' ('Intel' byte order):
--------------------+----------------------------------------------------------
Tag |Value
--------------------+----------------------------------------------------------
X-Resolution |72
Y-Resolution |72
Resolution Unit |Inch
YCbCr Positioning |Centered
Exif Version |Exif Version 2.1
Components Configura|Y Cb Cr -
FlashPixVersion |FlashPix Version 1.0
Color Space |Uncalibrated
--------------------+----------------------------------------------------------
In continuation of #25, some bugs are observed:
Could this be
GC.@preserverelated ?Also missing on the command line, so this is a write issue: