The High Efficiency File Format (HEIF
) is described in ISO/IEC 23008-12. This format is common on the latest iPhone and iPad devices using iOS 11 or later. Some digital cameras (eg: Canon) support this format as well.
Some places refer to this file format as HEIF
, while others as HEIC
. Since they represent almost the same thing, for the remainder of this topic, we will refer to everything as HEIC
.
The HEIF file format standard specifies that the images can be compressed using HEVC (H265), AVC (H264) or JPEG compression. However, HEVC (H265) is the most consistently used.
The HEIF files with HEVC (H265) compression use the extension ".heic
". Also, by convention, HEIF files with HEVC compression are called HEIC
files.
Curretly, LEADTOOLS supports only the HEVC compression.
Thumbnails (Stamps). Use LFile::ReadStamp to read a thumbnail. You can save a stamp by setting the ESO_SAVEWITHSTAMP flag in the SAVEFILEOPTION.Flags structure member prior to calling the save function.
Exif metadata, which can contain all the comments and tags supported by TIFF and EXIF. HEIC files can contain an embedded TIF file that contains only tags and comments information (no image data). So any metadata that can be saved in TIFF/Exif files can be saved in HEIC as well.
8-bit and 10-bit components. HEIC files will typically have 3 x 8-bit color components, which means they are loaded and saved as 24-bit. But the format also supports 10-bit components, and these files are loaded as 48-bit by default. LEADTOOLS will save only 8-bit components (24-bit).
Alpha channel/transparency information. HEIC files can contain optional transparency information from an alpha plane or mask. These files are loaded as 32-bit (if they use 8-bit components) or 64-bit (if they use 10-bit components). For these files, alpha of 0 represents transparent pixels, 255 represents opaque pixels and alpha of 1-254 values represent translucent pixels. LEADTOOLS is currently only loading the alpha information.
Rotate/Flip/Reverse transformation. You can perform a lossless rotate/flip/reverse transformation of an existing file using LFile::TransformFile, the same way as for CMP, JPEG and TIFF images.
File constants associated with this file format are:
Constant | Read Support | Write Support | Description |
---|---|---|---|
FILE_HEIC | 24, 32, 48, 64 BPP | 24 BPP | [402] HEIF file format with HEVC compression . |
Win32, x64, UWP, Linux, Android, iOS.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document