elementary / photos

Photo viewer and organizer designed for elementary OS
https://elementary.io
GNU Lesser General Public License v2.1
105 stars 38 forks source link

Photos Skipping Import of HEIC Images Claiming "Non Image Files" #580

Open Schykle opened 4 years ago

Schykle commented 4 years ago

Prerequisites

Describe the bug

When importing photos from my iPhone, all images appear in the preview, but when I use the "Import All" function, JPG, PNG files are imported, but HEIC files get left out and the message reads "55 non-image files skipped."

To Reproduce

Steps to reproduce the behavior: 1) Take images on iPhone 2) Plug iPhone in via USB 3) Open Photos 4) Navigate to iPhone and "Import All" 5) Profit

Expected behavior

HEIC files should be recognized as image files and imported.

Screenshots or screen recordings

image

Logs

Photos Import Log.txt

Platform Information

System:    Host: schy-ryze-hori Kernel: 5.4.0-42-generic x86_64 bits: 64 gcc: 7.5.0
           Desktop: Gnome  (Gtk 3.22.30-1ubuntu4) Distro: elementary OS 5.1.7 Hera
Machine:   Device: desktop Mobo: ASUSTeK model: PRIME B350-PLUS v: Rev X.0x serial: N/A
           UEFI: American Megatrends v: 5407 date: 12/31/2019
CPU:       8 core AMD Ryzen 7 2700 Eight-Core (-MT-MCP-) arch: Zen rev.2 cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 54397
           clock speeds: max: 3400 MHz 1: 1359 MHz 2: 1359 MHz 3: 3368 MHz 4: 1359 MHz 5: 1473 MHz 6: 1374 MHz
           7: 1330 MHz 8: 1331 MHz 9: 1359 MHz 10: 1358 MHz 11: 3399 MHz 12: 1353 MHz 13: 1441 MHz 14: 1377 MHz
           15: 1359 MHz 16: 1369 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Device 731f bus-ID: 0c:00.0
           Display Server: x11 (X.Org 1.20.8 ) drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 3840x1080@144.00hz
           OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10, DRM 3.35.0, 5.4.0-42-generic, LLVM 10.0.0)
           version: 4.6 Mesa 20.0.8 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
           driver: snd_hda_intel bus-ID: 0e:00.3
           Card-2 Advanced Micro Devices [AMD/ATI] Device ab38 driver: snd_hda_intel bus-ID: 0c:00.1
           Card-3 Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series]
           driver: snd_hda_intel bus-ID: 09:00.0
           Card-4 Logitech HD Pro Webcam C920 driver: USB Audio usb-ID: 001-004
           Card-5 C-Media driver: USB Audio usb-ID: 003-002
           Card-6 Kingston driver: USB Audio usb-ID: 001-006
           Sound: Advanced Linux Sound Architecture v: k5.4.0-42-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 port: f000 bus-ID: 04:00.0
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 7251.4GB (4.0% used)
           ID-1: /dev/nvme0n1 model: Samsung_SSD_960_EVO_250GB size: 250.1GB
           ID-2: /dev/sda model: WDC_WDS500G2B0A size: 500.1GB temp: 29C
           ID-3: /dev/sdb model: WDC_WDS500G2B0A size: 500.1GB temp: 27C
           ID-4: /dev/sdc model: WDC_WDS500G2B0A size: 500.1GB temp: 28C
           ID-5: USB /dev/sdd model: easystore_2624 size: 5000.9GB temp: 0C
           ID-6: /dev/sde model: WDC_WDS500G2B0A size: 500.1GB temp: 28C
Partition: ID-1: / size: 224G used: 14G (7%) fs: btrfs dev: /dev/nvme0n1p3
           ID-2: /home size: 224G used: 14G (7%) fs: btrfs dev: /dev/nvme0n1p3
           ID-3: /boot size: 946M used: 171M (20%) fs: ext4 dev: /dev/nvme0n1p2
           ID-4: swap-1 size: 8.01GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A
Info:      Processes: 482 Uptime: 13:54 Memory: 3772.2/32115.1MB Init: systemd runlevel: 5 Gcc sys: 7.5.0
           Client: Shell (bash 4.4.201) inxi: 2.3.56
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/92647340-photos-skipping-import-of-heic-images-claiming-non-image-files?utm_campaign=plugin&utm_content=tracker%2F60550306&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60550306&utm_medium=issues&utm_source=github).
fabiozaramella commented 4 years ago

Just to make clear, that's due to the fact that exiv2's folks haven't implemented HEIC/HEIF support for potential legal issues (see comment). Maybe, libheif could do the job.