Hello.
I have a PNG image that is I think a little bit corrupt, but in a way that is (I think) not too uncommon.
I was hoping to use exiftool to basically read the original and rewrite it in a valid form. The command line I am using is:
exiftool.exe -artist=me -ignoreMinorErrors -out modified.png original.png
I thought the -ignoreMinorErrors might help.
When I run this I get:
Warning: Truncated PNG image - original.png
Error: Error writing output file - original.png
0 image files updated
1 files weren't updated due to errors
No output image is written. Is there a way to ask exiftool to ignore the fact that the input PNG image is truncated, and write the output anyway?
Marty
Hi Marty,
Truncated image data is not a minor error, so it can't be ignored. ExifTool will not write a file like this.
- Phil