Remove exif but store image rotation data: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
(Naujas puslapis: <syntaxhighlight lang="bash"> #!/bin/sh find "$@" -type f \( -iname \*.jpg -o -iname \*.png -o -iname \*.jpeg \) -exec jhead -autorot {} \; exiftool -r -all= -ext jpg -ext gif...) |
|||
(nerodoma viena tarpinė versija, sukurta to paties naudotojo) | |||
1 eilutė: | 1 eilutė: | ||
+ | brew install jhead exiftool | ||
+ | ./script <dir> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |
Dabartinė 00:55, 24 gruodžio 2022 versija
brew install jhead exiftool ./script <dir>
#!/bin/sh
find "$@" -type f \( -iname \*.jpg -o -iname \*.png -o -iname \*.jpeg \) -exec jhead -autorot {} \;
exiftool -r -all= -ext jpg -ext gif -ext png -ext jpeg -ext jpg_original "$@"