Hi, I ran into a friend of mine who has iphone with the problem of opening with Ubuntu his photos which however are in HEIC format.
I found an easy solution:
open a terminal and type in
sudo apt-get install libheif-examples
give enter and type in your password to install this dependency,
After that create a text file and call it whatever you like, I put “convert_HEIC_in_JPG.sh”
give it execution permissions (right click properties > permissions > execution)
then open it up and write in it:
#!/bin/bash
for f in *.HEIC
do
echo “I am converting the file $f”
heif-convert $f $f.jpg
done
Now save and move the file to
/home/USER/.local/share/nautilus/scripts
(instead of USER put your user name)
now when you go to a folder with photos in HEIC just select everything,
right click > script > convert_HEIC_in_JPG.sh
will now start the conversion by itself, the wait will depend on the number of photos selected!!
I hope it can be of help to you
Bye