I felt to say thanks for all the excellent information in your post. It's really above and beyond what I ever expected which is great. Regards On 5/2/21 10:37 AM, Linux Kamarada wrote:
On Sat, May 1, 2021 at 4:12 PM
wrote: Hello, I am trying to open Apple iPhone 'File.HEIC' types. I discovered by installing GIMP 2.10.24 on my openSUSE TW computer (all updated-to current), that I can now open and then export an HEIC image-file into a format now readable (by Okular and Gwenview) through Dolphin. I saved this particular testing file to the pc previously.
I didn't know before that by installing and using Gimp that I could then export the "HEIC" file types. I don't own an iPhone it's actually a aquaintance's. (So it's not super easy to do the mounting of the device for testing). I followed an article here a bit and did have success in mounting the phone previously (Per login Instance basis, not permanent across powercycle). https://www.dedoimedo.com/computers/linux-iphone-6s-ios-11.html
Do some users have opinions on how to go about mounting an iPhone more easily? How far off or difficult is it to make openSUSE able to mount iPhones more easily or what is the preferred method now? I have an iPhone 8 with latest iOS (14.5) installed. Maybe I can help. Currently, I'm using openSUSE Leap 15.3 RC with GNOME 3.34.7.
Well, for me, I just plug my iPhone with a USB cable and the file manager (Nautilus in GNOME, Dolphin in KDE, etc) shows it as a camera. Sometimes the phone requires my passcode to trust the computer.
Regarding that link you shared from dedoimedo.com, I see the following packages (among the ones listed there) are installed on my system:
libimobiledevice6 libplist3 usbmuxd
Via USB, I'm not sure there is something else you can do with an iPhone on Linux other than transferring photos from phone to PC (the other way around - from PC to phone - AFAIK is not possible via USB as well).
What is the preferred app for viewing these "HEIC" file types? For instance taking photos with iPhone then using the pc to more easily create adds for selling items online. AFAIK only GIMP is able to open HEIC files.
I needed to enable the Packman repo and install these packages from it:
libheif1 gdk-pixbuf-loader-libheif gimp-plugin-heif
If you search the web, there are command line tools to convert from HEIC to JPEG, you can even write a script to batch convert (but I personally haven't tried them yet):
https://fitzcarraldoblog.wordpress.com/2019/01/15/heic-image-files-in-linux/
http://fritzthecat-blog.blogspot.com/2019/07/view-heic-photos-on-linux.html
I agree with others on this list that if you need to take JPEGs from iPhone, the easiest way is to transfer photos to PC using some service such as Dropbox, Telegram or email, even WhatsApp Web will do. Google Drive uploads the image file as is (i.e. it doesn't convert from HEIC to JPEG). I haven't tried Google Photos nor Nextcloud. But please note that using those services photos may be compressed and you may lose quality (particularly with WhatsApp Web).
If you sync your iPhone photos with iCloud, you may want to try to open icloud.com on your browser and download photos from there. I'm not sure now whether they are downloaded as JPEG or HEIC and whether they lose quality or not.
There are also two settings you may need/want to tweak on the iOS side.
By default, iPhone stores photos with HEIC and tries to transfer them via USB in a compatible format (HEIC when transferring to a Mac, JPEG when transferring to a PC), but that was not working for me with Linux, so I had to disable this feature and get the original HEIC files. If you need to do the same, go to Settings > Photos and on TRANSFER TO MAC OR PC choose Keep Originals.
You can also set your iPhone to store photos with JPEG instead of HEIC. Go to Settings > Camera > Formats and choose Most Compatible. Please note that this will apply to new photos only.
More info on those two settings on the following links:
https://support.apple.com/en-us/HT201302
https://support.apple.com/en-us/HT207022
Thanks
-pj iPhone architecture is closed, which make things difficult with Linux. I already spent many hours searching and trying those things I now share with you. That's one of the reasons I made the move back to Android.
If you have any doubt or there is something else I can help, please let me know.
Antonio The Linux Kamarada Project https://linuxkamarada.com/