Documentation
¶
Overview ¶
Package heic implements an HEIC image decoder based on libheif/libde265 compiled to WASM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMemRead = errors.New("heic: mem read failed") ErrMemWrite = errors.New("heic: mem write failed") ErrDecode = errors.New("heic: decode failed") )
Errors .
View Source
var ForceWasmMode bool
ForceWasmMode, if true, forces using the WASM-based decoder even if a dynamic/shared library is available.
This exists mainly for testing purposes.
It is not safe to change this concurrently with any other use of this package.
Functions ¶
func DecodeConfig ¶
DecodeConfig returns the color model and dimensions of a HEIC image without decoding the entire image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.