Commit 6f4ba667 authored by Jan Provaznik's avatar Jan Provaznik Committed by Nick Thomas

Preserve orientation when removing EXIF

parent 865620ba
...@@ -67,6 +67,7 @@ func (c *cleaner) startProcessing(stdin io.Reader) error { ...@@ -67,6 +67,7 @@ func (c *cleaner) startProcessing(stdin io.Reader) error {
"-ImageSize", "-ImageSize",
"-Copyright", "-Copyright",
"-CopyrightNotice", "-CopyrightNotice",
"-Orientation",
} }
args := append([]string{"-all=", "--IPTC:all", "--XMP-iptcExt:all", "-tagsFromFile", "@"}, whitelisted_tags...) args := append([]string{"-all=", "--IPTC:all", "--XMP-iptcExt:all", "-tagsFromFile", "@"}, whitelisted_tags...)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment