osmeditor4android icon indicating copy to clipboard operation
osmeditor4android copied to clipboard

Recognize .HEIC

Open jidanni opened this issue 2 years ago • 10 comments

The photo layer ignores .heic files, even if they contain exif location data just like .jpgs.

jidanni avatar Jan 25 '23 10:01 jidanni

What are HEIC files?

simonpoole avatar Jan 25 '23 10:01 simonpoole

https://www.adobe.com/creativecloud/file-types/image/comparison/heic-vs-jpeg.html . Saves space here on Samsung stock camera.

Currently sharing one with Vespucci gives error: photo content not found... Must convert to jpg first.

jidanni avatar Jan 25 '23 11:01 jidanni

You'll need to provide a sample for testing. Prior to Android 9 there was no native support for such images, and it needs to be seen if all the necessary libraries support the format.

simonpoole avatar Jan 25 '23 12:01 simonpoole

Currently doesn't seem to be fully supported in https://github.com/davemorrissey/subsampling-scale-image-view See https://github.com/davemorrissey/subsampling-scale-image-view/issues/559

simonpoole avatar Jan 25 '23 12:01 simonpoole

wget https://upload.wikimedia.org/wikipedia/commons/2/2d/Chunu_Bay%2C_Kanaga_Island%2C_Alaska.jpg
convert Chunu_Bay,_Kanaga_Island,_Alaska.jpg C.heic #imagemagick, alas wiped out EXIF GPS coordinates 
exiftool -overwrite_original -TagsFromFile Chunu_Bay,_Kanaga_Island,_Alaska.jpg C.heic
exiftool C.heic #shows EXIF coordinates

jidanni avatar Jan 26 '23 08:01 jidanni

You can append it to the issue.

simonpoole avatar Jan 26 '23 08:01 simonpoole

I am on a little modem line and can't upload big images these months.

jidanni avatar Jan 26 '23 08:01 jidanni

There's no hurry.

simonpoole avatar Jan 26 '23 09:01 simonpoole

h.heic.gz You'll need to unzip it.

jidanni avatar Jan 26 '23 09:01 jidanni

h heic

simonpoole avatar Jan 26 '23 10:01 simonpoole