Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for HEIF format #395

Closed
alexbilbie opened this issue Jun 25, 2017 · 4 comments
Closed

Support for HEIF format #395

alexbilbie opened this issue Jun 25, 2017 · 4 comments

Comments

@alexbilbie
Copy link

Apple have announced that all of their devices running iOS 11 and macOS 10.13 will support HEIF (High Efficiency Image File) format.

From Wikipedia:

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.

HEIF files are compatible with the ISO Base Media File Format (ISOBMFF, ISO/IEC 14496-12) and can also include other media streams, such as timed text and audio.

There is an open source C++ encoder and decoder implementation available from here - https://github.com/nokiatech/heif.

Is there potential for libgd to support this new format?

@alexbilbie alexbilbie changed the title Support for HEIF Support for HEIF format Jun 25, 2017
@cmb69 cmb69 mentioned this issue Nov 9, 2017
@libgd libgd deleted a comment from victorstewart Jan 31, 2018
@libgd libgd deleted a comment from iipokypatop Jan 31, 2018
@libgd libgd deleted a comment from cmb69 Jan 31, 2018
@libgd libgd deleted a comment from iipokypatop Jan 31, 2018
@810
Copy link

810 commented Mar 16, 2018

What’s new in Build 17123

Introducing High Efficiency Image File Format (HEIF) in Windows 10

The High Efficiency Image File Format (HEIF) has arrived for Windows 10 and the Photos app! HEIF is an image container that leverages modern codecs like HEVC to improve quality, compression, and capabilities compared to earlier formats like JPEG, GIF, and PNG. In addition to traditional single images, HEIF supports encoding image sequences, image collections, auxiliary images like alpha or depth maps, live images & video, audio, and HDR for greater contrast. We have heard your feedback that these features and the ability to share photos easily with other platforms is important to you. This release we are delivering essential viewing support (You cannot edit HEIF images in this release).

@exekutive
Copy link

Nice. iOS, MacOS, Windows and Android P all support it now. Imagemagick recently implemented it as well.

@gajicm93
Copy link

gajicm93 commented Jan 25, 2019

+1 any info on this? I'd like an encoder specifically.

vapier pushed a commit that referenced this issue Mar 2, 2021
With the adoption of AVIF by Firefox and Chromium based browsers (still
in experimental phase), the newer incorporation of HEIF by Canon and Sony 
in their cameras and the newer support of both of them in modern software 
like ImageMagick, GIMP and Krita, `gd` haven't seen any endorsement for
the formats up until this PR.

Reading and writing is done by `libheif`, with functionality for chroma 
subsampling (for now `4:2:0`, `4:2:2` and `4:4:4`), quality (with new
`200` for lossless) and compression (whether `HEVC` or `AV1`) selection. 

This was tested with `libheif` version `1.11.0` in my Solus machine.

Also, fixes both #395 and #557.
@vapier
Copy link
Member

vapier commented Mar 5, 2021

this will be available in the next release

@vapier vapier closed this as completed Mar 5, 2021
@vapier vapier added this to the GD 2.3.2 milestone Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants