{"id":1255,"date":"2019-10-12T19:43:13","date_gmt":"2019-10-12T17:43:13","guid":{"rendered":"http:\/\/localhost\/miosito\/?p=1255"},"modified":"2022-06-30T20:09:58","modified_gmt":"2022-06-30T18:09:58","slug":"convertire-foto-heic-iphone-mac-in-jpg-con-ubuntu","status":"publish","type":"post","link":"http:\/\/localhost\/miosito\/en\/convertire-foto-heic-iphone-mac-in-jpg-con-ubuntu\/","title":{"rendered":"Convert HEIC iphone mac photos to JPG with Ubuntu"},"content":{"rendered":"



\nHi, 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.<\/p>\n

I found an easy solution:<\/p>\n

open a terminal and type in<\/p>\n

sudo apt-get install libheif-examples<\/p>\n

give enter and type in your password to install this dependency,<\/p>\n

After that create a text file and call it whatever you like, I put “convert_HEIC_in_JPG.sh”<\/p>\n

give it execution permissions (right click properties > permissions > execution)<\/p>\n

then open it up and write in it:<\/p>\n

#!\/bin\/bash<\/em>
\nfor f in *.HEIC<\/em>
\ndo<\/em>
\necho “I am converting the file $f”<\/em>
\nheif-convert $f $f.jpg<\/em>
\ndone<\/em><\/p>\n

Now save and move the file to<\/p>\n

\/home\/USER\/.local\/share\/nautilus\/scripts<\/p>\n

(instead of USER put your user name)<\/p>\n

now when you go to a folder with photos in HEIC just select everything,<\/p>\n

right click > script > convert_HEIC_in_JPG.sh<\/p>\n

will now start the conversion by itself, the wait will depend on the number of photos selected!!<\/p>\n

I hope it can be of help to you<\/p>\n

Bye<\/p>","protected":false},"excerpt":{"rendered":"

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 […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[10,107,35,104,108,106,105,36,30,9],"_links":{"self":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/1255"}],"collection":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/comments?post=1255"}],"version-history":[{"count":0,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/1255\/revisions"}],"wp:attachment":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/media?parent=1255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/categories?post=1255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/tags?post=1255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}