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

Decrypting Image Headers for WebP, JPEG XL, HEIF, AVIF image formats using Python

I want to decode and understand the structure of various latest image formats (namely WebP, JPEG XL, HEIF and AVIF) and compare header information with respect to image data to see which format is header information heavy with respect to image data.…
0
votes
1 answer

Converting heic/heif to jpg in react native (or nodejs)

I have a react native app on ios where users can upload photos. I resize these photos server-side with sharp. The problem is: the HEIC/HEIF-files from ios are not compatible with sharp. I get the following error: ¡Error: source: bad seek to…
Sam Leurs
  • 1,592
  • 1
  • 19
  • 48
0
votes
0 answers

Android ImageDecoder extremely slow performance with HEIC/HEIF images

I'm using subsampling-scale-image-view to display images, and I implemented function like the Gallery app usually do (allow user to view image, zoom then and swipe left or right to switch between images). I found out that when I swipe to change…
Hhry
  • 823
  • 1
  • 8
  • 19
0
votes
0 answers

HTML Image Request Isn't getting any data

I've set up an API where you can upload images. In the event the image is a HEIC heif = pillow_heif.read_heif(file) temp = Image.frombytes( heif.mode, heif.size, heif.data, "raw") …
0
votes
1 answer

Create CGImage from HEIF file

This is how I load a JPEG or PNG file into a CGImage: imgDataProvider = CGDataProviderCreateWithFilename( [imgFilepath UTF8String] ); if( [[imgFilepath pathExtension] isEqualToString: @"png"] ) { image =…
Paolo
  • 15,233
  • 27
  • 70
  • 91
0
votes
1 answer

How to set EXIF Orientation value to 1 in HEIF (.heic) image formats using Javascript and return the result as a blob?

I have a blob created from an HEIF image which probably contains EXIF Orientation value. I'm using heif2any.js to convert it to JPEG image but I want to prevent double-rotation problem stated in this answer:…
Ramtin Didab
  • 21
  • 1
  • 3
0
votes
0 answers

The extension in image url is different from actual format

I downloaded an image from a url such as "https://www.xxxx.com/filename.jpeg. I expected that that image is a jpeg image whose format is acceptable for Computer Vision Annotation Tool (CVAT). However, it was saved as filename.heif or…
HYK
  • 1
  • 1
0
votes
1 answer

Reading byte by byte HEIF/HEIC images XMP metadata

I am trying to build a native byte parser that given an HEIF image it returns back its metadata (mainly width and height of the image). I am struggling a lot at the moment finding the right documentation and specs to use for parsing such info. I…
Tarta
  • 1,729
  • 1
  • 29
  • 63
0
votes
1 answer

Django Admin add support for HEIC for ImageField

please has someone experience with adding support of new image formats to the Django Admin module? I want to use this one called pyheif-pillow-opener pyheif-pillow-opener for HEIC support. It should be registered, but I am not sure where exactly. I…
saby
  • 351
  • 1
  • 2
  • 18
0
votes
1 answer

Can't build Nokia HEIF library with make

I'm trying to build the HEIF library in https://github.com/nokiatech/heif, but I'm having no luck. I have CMake and the latest version of MinGW installed. I'm following the steps to build the library but I'm getting an error. The first step, which…
David Antelo
  • 503
  • 6
  • 19
0
votes
1 answer

Convert image to the HEIF format on Windows

I want to take advantage of HEIF's benefits on Windows. I feel I've done quite a bit of searching and I find a lot about opening HEIF files on Windows and converting from HEIF to JPG. I can't find anything about converting a popular lossless type…
Alex
  • 870
  • 2
  • 9
  • 19
0
votes
1 answer

Convert HEIF images to a more common image format in Java

I need to convert server-side HEIF images (new Apple/iOS format) to a more common image type (e.g. JPG, PNG, ...). Is there any solution Java-based? I couldn't find any library or other solution.
LaurentG
  • 11,128
  • 9
  • 51
  • 66
0
votes
0 answers

HeifWriter support library min API level is 28

High i'm new in android development and trying to use HeifWriter support library for my project. How I understand support libraries are for supporting lower api levels with new features but heifwriter min sdk is api 28. And i can't understand why i…
0
votes
1 answer

convert heif/heic to jpg using gpac

I'm trying to convert HEIC to JPG using GPAC/MP4Box. I have been able to get small JPG "tiles" for a single HEIC file but I can't figure out how to get one large JPG. Commands are like: % MP4Box -dump-item 1:path=tile1.hevc iphonesample.heic %…
OneSolitaryNoob
  • 5,423
  • 3
  • 25
  • 43
0
votes
1 answer

Generate HEIF data using UIGraphicsImageRenderer in iOS 11

I just watched this WWDC talk, and while I'm very excited to adopt HEIF they didn't mention UIGraphicsRenderer at all. After scanning the header for the UIGraphics*Renderer classes, I didn't see anything notable there either. Is there a way to use…
Tim Johnsen
  • 1,471
  • 14
  • 33