-
Notifications
You must be signed in to change notification settings - Fork 295
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
"-*=" conflicting with "PNG-pHYs" tags #246
Comments
What command line are you using (Powershell/CMD/Bash/Terminal/etc)? What version of exiftool? What is your exact command? It works correctly here with ver 12.78 on Windows CMD
|
ExifTool 12.78. exiftool -v5 "-*=" "-PixelsPerUnit?=5906" -overwrite_original "!.png"
exiftool -U -ee3 -g3:5:2 -api "RequestAll=0" -api "LargeFileSupport" "!.png" ]] |
Ah, I assumed you were using the asterisk as a placeholder. I don't think I've ever seen that construct used before. Using I tried the command with some older versions back to 11.12 and the results were the same. Furthermore, if you write another PNG tag at the same time, the
Phil will have to look at this when he gets the chance. |
You can see the reason for this if you add the -v2 option when writing: Writing PNG-pHYs:PixelsPerUnitX if tag exists @Stargeek: "-*=" is the same as "-all="
|
Yeah, I thought they were the same when I saw it, I just never seen it written like that. But I think still think there's something wrong, as per my second example. In that example, The
Even if I explicitly set both tags to a new value, the old one remains
|
I agree that something odd is happening here, but I can't reproduce your exact observations. I need to look at this in more detail.
|
"Writing PNG-pHYs:PixelsPerUnitX if tag exists" |
Using "-*=" with "-PixelsPerUnit?=5906" alike doesn't work as intended:
"PNG-pHYs" tags written then removed. (per "-v5")
Meanwhile "-*=" with "-XResolution=300" alike on JPEG works.
The text was updated successfully, but these errors were encountered: