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

How to convert HEIC to JPG in React?

HEIC is Apple's own format to store high resolution images made with iOS cameras. But I would store on backend JPG, because HEIC is not displayed in most browsers, not even in Safari. SOLUTION 1 I tried this for the conversion: const buffer =…
János
  • 32,867
  • 38
  • 193
  • 353
2
votes
1 answer

Batch Saving/Exporting as .HEIC after editing .HEIC in Photoshop

I need help with editing/saving .HEIC files in Photoshop on macOS. As you may know, it's possible to open and edit .HEIC images, but there's no way to save or export them back as .HEIC using Photoshop: I'm doing a very specific task where I need to…
2
votes
1 answer

How to support HEIC/HEIF images in go backend?

I am pretty new to Go. I have some image upload code and I am trying to upload a *.heic image that is produced by iPhones. My code is doing the following: contentType := http.DetectContentType(fileBytes) DetectContentType does not know how to…
Andrew Bezzub
  • 15,744
  • 7
  • 51
  • 73
2
votes
0 answers

Dropzone HEIC images uploaded as JPG do not save

I'm using Dropzone for image uploads. If a HEIC image is uploaded I use heic2any to convert the file using this bit of code: https://github.com/dropzone/dropzone/issues/1984#issuecomment-886460171. I check the file.type and if it is an image/heic I…
Kris
  • 657
  • 1
  • 7
  • 19
2
votes
0 answers

How can I export .hdr or .exr image from iPhone HDRI photo (.HEIC format)?

I want to take HDR photos with my iPhone and get images as .hdr or .exr image formats, in order to use them for my cinema rendering purpose. I took some HDR photos with my iPhone X and sent them to my iMac, and then I tried converting them from…
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
  • 825
  • 8
  • 31
2
votes
1 answer

iOS: Convert PNG to HEIF/HEIC + Alpha without quality loss

For a project I'm currently working on, I'm trying to convert a bunch of PNG images to HEIF/HEIC. These images will be used in Xcode's .xcassets, which will then be "compiled" into a .car file. Compiling the PNGs (~150 total files) results in ~40 MB…
Sniper_GER
  • 73
  • 1
  • 8
2
votes
1 answer

Ubuntu16 cannot install pyheif

I'm trying to install pyheif to use heic files on Linux server. pyheif: https://pypi.org/project/pyheif/ Linux library command: sudo apt-get install python3 python3-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev…
touchingtwist
  • 1,930
  • 4
  • 23
  • 38
2
votes
0 answers

Magic's return value: JPEG image data in case of HEIC image

Doubt 1: For HEIC images, the return value provided by Magic is JPEG. Can someone help me with the explanation? Doubt 2: Why is cv2.imread reading the images when in the supported file formats .HEIC is not present? Also, if there's support for…
2
votes
2 answers

Symfony | liipimaginebundle : display or convert a heic file

Technical context: Symfony 4.4, liipimagine bundle. I'm working on the development of a web-app, mostly used with a smartphone indeed. In my application, the user is able to upload a picture for his profile. Basically, my upload is woking perfectly…
Chris_1985
  • 71
  • 9
2
votes
1 answer

How can I read an HEIC image in matlab?

I have an HEIC image from my iPhone (it contains depth data) and I want to import it in Matlab (on Mac). but imread() does not support this format. How could I achive this anyway?
xxx
  • 1,153
  • 1
  • 11
  • 23
2
votes
0 answers

How do I use heic format in Android P?

HeifEncoder was seen and implemented. "MediaCodec.createEncoderByType(MediaFormat.MIMETYPE_IMAGE_ANDROID_HEIC);" If you do this, the following error will occur. Blockquote java.lang.IllegalArgumentException: Failed to initialize…
2
votes
0 answers

How to convert HEIC image to JPG image in IOS

Im having NSData of Image type HEIC (photo taken from IOS 12), I need to convert HEIC to JPG and then add to Photo library(to phone having IOS 10.3). Since IOS 10.3 doesn't support of HEIC photo type i need to convert and add to library. I have…
virtplay
  • 550
  • 7
  • 18
1
vote
1 answer

How to fix ReferenceError: Blob is not defined issue when using heic2any library in nextjs?

I am facing a problem where I have implemented everything and its working fine actually, but the main problem is that whenever I try to reload the page it will give me a error saying: ReferenceError: Blob is not defined I am using heic2any library…
1
vote
1 answer

How to extract GPS location from HEIC files?

I use the following code to extract GPS location both from JPG and HEIC files: #coding=utf-8 from PIL import Image from urllib.request import urlopen from PIL.ExifTags import TAGS from PIL.ExifTags import GPSTAGS from pillow_heif import…
LA_
  • 19,823
  • 58
  • 172
  • 308