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

Create/Modify values #4

Open
HelmuthWcs opened this issue Oct 26, 2017 · 5 comments
Open

Create/Modify values #4

HelmuthWcs opened this issue Oct 26, 2017 · 5 comments

Comments

@HelmuthWcs
Copy link

Is there any way to modify values and to write them back to a file? I checked the test examples but there seems to be no modifying example.

@AerisG222
Copy link
Owner

Sorry, there is no way to do this now. I will try to look at that when I get some time. Otherwise, I'd be happy to take a PR if it is something you need sooner than later.

@HelmuthWcs
Copy link
Author

I just found how to hardcode the stuff I need to change (GPano 360 tags) with minimal changes in your code. So for now this works for me. Btw, nice project, thanks!

@AerisG222
Copy link
Owner

I just added support for writing, which is available in version 0.8.0 on nuget. Currently, if you have special characters in the value you are setting, you will need to provide your own escaping/quoting on the value (see the test case for an example). If you want to give it a try, let me know how it works for you.

Thanks for your feedback!

@wagich
Copy link

wagich commented Nov 14, 2017

Not the OP, but I just used it to write metadata for some 80 PDFs and it worked pretty much flawlessly. 😄

One thing that I needed to change: it seems the console on windows defaults to latin1, and exiftool defaults to utf-8 – so as soon as I began using umlauts I had weird characters in the output.
Setting the console to utf-8 didn't seem to work, so I added -L to the generated arguments to switch exiftool to latin1. That might be something to investigate further – ideally you could set the input and output streams to utf-8.

@AerisG222
Copy link
Owner

Thanks for the feedback! I'll try to have a look at this in the next day or two.

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

No branches or pull requests

3 participants