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.

59 questions
3
votes
0 answers

Auto convert HEIF to JPEG on direct upload with Active Storage

If user uploads HEIF file, I would like to convert it to JPEG in Rails 6 application on Active Storage. This would be a system vide function. JPEG image cannot be a variant, because photo needs to be analyzed (I need the EXIF data from it). Should…
Brateq
  • 100
  • 5
3
votes
0 answers

How to export 16-bit HEIF images in Swift?

I am trying to write an export function for my app that allows 16-bit depth HEIF files. Apple's documentation doesn't specify whether 16-bit is supported nor if the writeHEIFRepresentation() method requires any specific option for that. I have been…
AndreG
  • 1,888
  • 1
  • 7
  • 12
3
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
  • 155
  • 1
  • 13
3
votes
0 answers

Is it possible to access HEIF 'Image Properties' metadata like 'ispe' and 'colr' using Windows Imaging Component?

I know from the format specifications that HEIF files have Image Properties that can denote spacial extent ('ispe'), color information ('colr'), pixel information ('pixi'), etc. Is it possible to directly access those properties using WIC? I am able…
krisfed
  • 31
  • 2
3
votes
0 answers

HEIC/HEIF changed to jpeg without metadata at upload

I have a small webapp that runs on a server intended for use in a setting without reliable internet access (i.e., the app can't depend on outside resources during production). The purpose of the app is simply to upload image files, read the…
reddisht
  • 129
  • 2
  • 14
3
votes
0 answers

Can not get metadata of HEIF/HEIC file in xcode

I am playing with the HEIF depth image using xcode. The problem is that I can not get any metadata; when I use CGImageSourceCopyProperties(image, nil), it always returns nil.
user1470393
  • 177
  • 3
  • 12
3
votes
0 answers

Getting capture date of heic image

I am using the nokiatech heif api (github.com/nokiatech/heif) to process heic files produced by the IOS betas. I am able to get the tiles and metadata like rotation and dimensions, but I am unable to locate the capture date of the image. I found…
2
votes
2 answers

WIC HEIF HEIC image decoding C++

Windows Imaging Component is used for decoding heif images. However extra apps from the microsoft store (heif image extension, hevc video extensions) are required for a successful decoding of the images. Without them the WIC api returns blank image.…
mbaros
  • 797
  • 5
  • 23
2
votes
0 answers

HEIC encoding of CIImage failing with iOS14

I have following simple code that is failing on iOS14 (was working fine with iOS13). The code converts a CIImage object to heif representation. func encodeImageToHeif(_ image: CIImage ) -> Data? { return autoreleasepool(invoking: { () -> Data?…
2
votes
0 answers

Handle HEIF images from Java

I want my app to be able to handle .heic images. However, this has been far from easy. I have tried using this nokia lib: https://nokiatech.github.io/heif/ but no luck whatsoever. Even though I can load the image as a HEIF and save it somewhere else…
David Antelo
  • 403
  • 4
  • 14
2
votes
0 answers

How to access Image sequence in a HEIC file ( using C#)?

I want to access Image sequence contained in a Heic Container using C#. In windows 10, the HEIF Image Extensions enables reading (HEIF) files. It is supposed to be extended to WIC to be used by developers if the previously mentioned extension is…
Asem Khen
  • 155
  • 1
  • 13
2
votes
0 answers

How to find out which Camera format in Settings?

For iOS 11, in Settings -> Camera -> Formats, user can choose between High Efficiency vs Compatible. How do we know from the SDK which one the user chooses so we can persist image capture in the right format?
Boon
  • 37,606
  • 51
  • 186
  • 296
2
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
  • 41
  • 1
  • 5
2
votes
2 answers

Display apples heif images in web

Apple has introduced heif technology with iOS 11. On my website some iPhone users now want to upload these pictures in the same format (no idea if you can convert them to JPEG in iOS, I'm using Android and can't test it). If I now allow them to…
cobarde
  • 21
  • 1
  • 3
2
votes
0 answers

Regarding HEIF/ISO-BMFF parsing

In HEIF, or generally any ISO-BMFF file, does any know how to use pitm box in root meta box to parse the main image? For example, the documents say the ID of the main image is stored in the pitm box, but when I obtain that ID and find the…
Gaven Ma
  • 21
  • 2