Questions tagged [heif]

High Efficiency Image File Format (HEIF) is a file format for individual images and image sequences. It was developed by the Moving Picture Experts Group (MPEG) and is defined by MPEG-H Part 12 (ISO/IEC 23008-12). The HEIF specification also defines the means of storing High Efficiency Video Codec (HEVC)-encoded intra images and HEVC-encoded image sequences in which inter prediction is applied in a constrained manner.

76 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
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
0 answers

preserve EXIF ( GPS / DateTimeOriginal ) when uploading HEIF image in mobile safari

It seems the iOS 11 mobile safari will strip some EXIF ( GPS / DateTimeOriginal ) when uploading HEIF image, how to preserve the EXIF?
hey mike
  • 2,431
  • 6
  • 24
  • 29
10
votes
5 answers

Detecting that iOS image data is HEIF or HEIC

My server doesn't support the HEIF format. So I need to transform it to JPEG before uploading from my app. I do this: UIImage *image = [UIImage imageWithData:imageData]; NSData *data=UIImageJPEGRepresentation(image,…
Jiayu Yang
  • 101
  • 1
  • 1
  • 5
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
9
votes
2 answers

Convert HEIC to JPG , using php or JS

Anyone tried to convert a heic to jpg? I looked at the official repository, but I did'nt understand how it works. All examples in the repository are working. But when I try to process my photo, made on the iphone, the script refuses to process it.
Dmitriy
  • 111
  • 1
  • 2
  • 5
9
votes
2 answers

How to open a HEIF (.heic) image?

For a c++ project, I need to open and show a HEIF (.heic) image. What I know (if I'm right) is that the HEIF images are based on the ffmpeg standard, and requires a H265 codec to be read. I found several open-source H265 codecs: OpenHEVC…
Jean-Milost Reymond
  • 1,833
  • 1
  • 15
  • 36
9
votes
2 answers

What's the formal way to verify if my device is capable of encoding images in HEIC format?

I'm trying to save an image in the HEIC file format using ImageIO. The code looks something like this: NSMutableData *imageData = [NSMutableData data]; CGImageDestinationRef destination = CGImageDestinationCreateWithData( (__bridge…
StatusReport
  • 3,397
  • 1
  • 23
  • 31
8
votes
1 answer

Convert HEIF photo to JPEG for uploading to backend

I'm maintaining an app for uploading photos from iPhone to a backend service. Currently this service doesn't support the new HEIF format, so is there any way to have the Photos framework convert the photo data to jpeg? I use…
mlidal
  • 1,111
  • 14
  • 27
8
votes
3 answers

Is HEIC/HEIF Supported By UIImage

I was under the impression that UIImage would support HEIC/HEIF files introduced in iOS 11. In my testing that does not appear to be the case though. If I do let image = UIImage(named: "test") which points to test.heic then image is nil. If I use an…
Brian F Leighty
  • 922
  • 11
  • 22
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
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
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:…
6
votes
2 answers

Are HEIC/HEIF Files Supported In Safari

Trying to figure out if Safari does or doesn't support iOS 11's new image format HEIC/HEIF. Have tried numerous things and it doesn't appear to work. Thanks.
Brian F Leighty
  • 922
  • 11
  • 22
1
2 3 4 5 6