Questions tagged [heic]

A HEIC file is a raster image saved in the High Efficiency Image Format (HEIF), a lossy compressed media container format commonly used to store images. It may contain a single image, a collection of images, image bursts, or image sequences, along with metadata that describes each image. HEIC files may also appear as .HEIF files.

94 questions
73
votes
14 answers

How to work with HEIC image file types in Python

The High Efficiency Image File (HEIF) format is the default when airdropping an image from an iPhone to a OSX device. I want to edit and modify these .HEIC files with Python. I could modify phone settings to save as JPG by default but that doesn't…
j12y
  • 2,112
  • 3
  • 17
  • 22
16
votes
2 answers

macOS Mojave Custom Dynamic Wallpaper

I've found that the default (and only) dynamic wallpaper in macOS Mojave Beta is in /Library/Desktop Pictures/. The file in question is called "Mojave (Dynamic).heic" I imagine that the file itself is probably some sort of mapping/dictionary from…
Artyom Pstygo
  • 161
  • 1
  • 1
  • 3
13
votes
2 answers

convert a heif file to png/jpg using ffmpeg

The use case is very straight forward. Imagemagick is able to do the conversion but I want to do it with ffmpeg. Here is the all commands I have tried and all of them gives moov atom not found error. ffmpeg -i /Users/ajitesh/Downloads/sample1.heif…
Ajitesh Singh
  • 401
  • 2
  • 5
  • 14
12
votes
0 answers

Handling .heic files in Java

I'm trying to work with a .heic image in Java. Native Java cannot deal with this format. I want to either convert it to a different format (.png would be ideal) or convert it to a java.awt.Image or similar image manipulation structure. I've been…
David Antelo
  • 503
  • 6
  • 19
11
votes
3 answers

Make HTML5 FileReader working with heic files

When reading a file from the input element by the FileReader api it works, but my android device also allows sending files and it seems to send heic files anyway which then results in an empty image without any errors in the console. Also the…
Sascha Grindau
  • 418
  • 2
  • 6
  • 18
10
votes
7 answers

How to Convert From HEIC to JPG in Python on WIndows

Im trying to convert HEIC to JPG using python. The only other answers about this topic used pyheif. I am on windows and pyheif doesn't support windows. Any suggestions? I am currently trying to use pillow.
Stephan Yazvinski
  • 484
  • 1
  • 6
  • 12
10
votes
1 answer

Image .HEIC not loaded properly on browsers

We have a mobile app that uploads images to our web server and those images are displayed on a dashboard that opens on browsers like chrome, IE and firefox latest versions; Our users have windows 7 machines or even Android or IOS mobiles; Images…
Mlle 116
  • 1,149
  • 4
  • 20
  • 53
9
votes
3 answers

HEIC to JPEG conversion with metadata

I'm trying to convert heic file in jpeg importing also all metadata (like gps info and other stuff), unfurtunately with the code below the conversion is ok but no metadata are stored on the jpeg file created. Anyone can describe me what I need to…
Trics
  • 189
  • 1
  • 8
9
votes
1 answer

How can I convert from UIImage to HEIF / HEIC Data in Swift?

Is NSKeyedArchiver appropriate to convert UIImage to Data? do { let data = try NSKeyedArchiver.archivedData(withRootObject: UIImage(named: somePath), requiringSecureCoding: true) ... } catch { print(error) } Or is it overkill and using…
lurning too koad
  • 2,698
  • 1
  • 17
  • 47
9
votes
3 answers

HEIC images within the assets folder not loaded

I have set .heic images in my xcassets folder from my project to save some space. However I'm not able to load them through the UIImage(named:) constructor. I'm always getting nil, so the only way I have to load them is by specifying the URL. Do you…
jomafer
  • 2,655
  • 1
  • 32
  • 47
7
votes
0 answers

Why do HEIC/HEIF files have a blank file type in a FileList?

I'm using the file select input to upload multiple files. After a user selects their files, I'm sorting through the FileList in a loop to check if there are any HEIC/HEIF files, so I can display an error message. const fileSelect =…
DanC12
  • 294
  • 2
  • 4
  • 19
7
votes
3 answers

Python EXIF can't find HEIC file date taken, but it's visible in other tools

This is similar to this question, except that the solution there doesn't work for me. Viewing a HEIC file in Windows Explorer, I can see several dates. The one that matches what I know is the date I took the photo is headed 'Date' and 'Date taken'.…
Cormac
  • 117
  • 1
  • 10
7
votes
0 answers

How to extract multiple images contained in HEIC file format?

I have a HEIC file containing multiple images. How can I extract this image sequence in JPEG or PNG format ? Is there a NuGet that simplefies the process? This is for an image handeling software on android, IOS and UWP. I have been looking for a…
Asem Khen
  • 317
  • 3
  • 15
7
votes
2 answers

How to convert images in apple’s new HEIC format to jpg in java?

I have few thousand images in HEIC format that need to be converted to jpg/png. Conversion needs to happen in a backend process preferably java. What is the best way available to do this in java? If not, can anyone point me to a tutorial that…
PKB
  • 101
  • 2
  • 5
6
votes
2 answers

Does OpenCV support .HEIC image format?

I'm working on a face detection project and want to know if opencv provides support for heic format in imread() and imwrite() methods? Can an image be read using cv2's imread() and written using cv2.imwrite() functions? (Language being used:…
1
2 3 4 5 6 7