Table of Contents

Class HeicFormat

Namespace
Egami.Heic
Assembly
Egami.Heic.dll

The HEIC format (HEIF with HEVC-coded images, as iPhones and most Android phones save photos), registered with WithHeic(EgamiContext). It replaces core Egami's own HEIC entry, which detects and probes HEIC files but does not load them.

public static class HeicFormat
Inheritance
HeicFormat
Inherited Members

Examples

// Opt in to HEVC once: register Egami.Heic in a context (at startup, EgamiContext.SetDefault(new EgamiContext().WithHeic())
// makes it the default for every call).
EgamiContext heic = new EgamiContext().WithHeic();
RasterInfo info = Raster.Probe("photo.heic", heic);
bool fromPackage = info.Format == HeicFormat.Info;

Remarks

HEVC is covered by patents, encoding as well as decoding. Egami's authors grant no patent rights and are not lawyers. Whether you need a patent licence depends on your country and on how you use and distribute this package; commercial products may need one from the HEVC patent pools or holders. The core Egami package contains no HEVC code and does not depend on this package.

Properties

Info

Gets the format's registration: name, MIME types, extensions, signature, reader and writer.

public static FormatInfo Info { get; }

Property Value

FormatInfo