{"id":1255,"date":"2019-10-12T19:43:13","date_gmt":"2019-10-12T17:43:13","guid":{"rendered":"http:\/\/moondragon.ilbello.com\/?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":"https:\/\/moondragon.ilbello.com\/en\/convertire-foto-heic-iphone-mac-in-jpg-con-ubuntu\/","title":{"rendered":"Convert HEIC iphone mac photos to JPG with Ubuntu"},"content":{"rendered":"<p><BR><br \/>\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<p>I found an easy solution:<\/p>\n<p>open a terminal and type in<\/p>\n<p>sudo apt-get install libheif-examples<\/p>\n<p>give enter and type in your password to install this dependency,<\/p>\n<p>After that create a text file and call it whatever you like, I put &#8220;convert_HEIC_in_JPG.sh&#8221;<\/p>\n<p>give it execution permissions (right click properties &gt; permissions &gt; execution)<\/p>\n<p>then open it up and write in it:<\/p>\n<p><em>#!\/bin\/bash<\/em><br \/>\n<em>for f in *.HEIC<\/em><br \/>\n<em>do<\/em><br \/>\n<em>echo &#8220;I am converting the file $f&#8221;<\/em><br \/>\n<em>heif-convert $f $f.jpg<\/em><br \/>\n<em>done<\/em><\/p>\n<p>Now save and move the file to<\/p>\n<p>\/home\/USER\/.local\/share\/nautilus\/scripts<\/p>\n<p>(instead of USER put your user name)<\/p>\n<p>now when you go to a folder with photos in HEIC just select everything,<\/p>\n<p>right click &gt; script &gt; convert_HEIC_in_JPG.sh<\/p>\n<p>will now start the conversion by itself, the wait will depend on the number of photos selected!!<\/p>\n<p>I hope it can be of help to you<\/p>\n<p>Bye<\/p>","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/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":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/posts\/1255"}],"collection":[{"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/comments?post=1255"}],"version-history":[{"count":0,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/posts\/1255\/revisions"}],"wp:attachment":[{"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/media?parent=1255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/categories?post=1255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/tags?post=1255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}