Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Problem using exif.MarshalJSON() on sample images #10

Open
bluhayz opened this issue Nov 2, 2017 · 4 comments
Open

Problem using exif.MarshalJSON() on sample images #10

bluhayz opened this issue Nov 2, 2017 · 4 comments

Comments

@bluhayz
Copy link

bluhayz commented Nov 2, 2017

Hello,

The MarshalJSON() function when run on several sample images gives an:

%!(EXTRA *json.MarshalerError=json: error calling MarshalJSON for type *tiff.Tag: invalid character '!' after top-level value)

This is in response I believe to the MarkerNote: "FUJIFILM0130" !"#,012NORMAL d"

This specifically happens with the exif/samples/2009-08-05-08-11-31-sep-2009-08-05-08-11-31a.jpg as well as some others.

Any ideas on how to correct this?

Thank you!

@xor-gate
Copy link
Owner

xor-gate commented Nov 2, 2017

Thats a very good question, i'm not the original owner of the package so we need to investigate both. Probably we should create a failing unit test for it and then try to fix it.

xor-gate added a commit that referenced this issue Nov 2, 2017
@xor-gate
Copy link
Owner

xor-gate commented Nov 2, 2017

The error is reproducible as seen here (from the issue_10 branch)

@xor-gate
Copy link
Owner

It has been very quiet past weeks but I have not looked into this problem very well, in the meantime do you found a solution or has progress stalled?

@xor-gate
Copy link
Owner

Hi @bluhayz, this issue has catched dust. I don't know if you have the knowledge and time to see if we could resolve it?

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

No branches or pull requests

2 participants