Home Batch convert .tif images to .heic images (with preserving EXIF metadata)
Post
Cancel

Batch convert .tif images to .heic images (with preserving EXIF metadata)

Intall the required tools

imagemagick and exiftool needs to be installed.

1
sudo apt install imagemagick exiftool

Convert .tif to .heic

1
2
3
4
5
mogrify -verbose -format heic *.tif

or

for x in *.tif; do echo "$x"; convert -verbose "$x" "${x%.tif}.heic"; done
1
for x in *.tif; do echo "$x"; exiftool -overwrite_original -tagsFromFile "$x" -all:all "${x%.tif}.heic"; done
1
for x in *.tif; do echo "$x"; exiftool -overwrite_original -tagsFromFile "${x%.tif}.XMP" -all:all "${x%.tif}.heic"; done
This post is licensed under CC BY 4.0 by the author.