CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
heic_settings.h File Reference

Input configuration settings for HEIF/HEIC/AVIF image loading via OIIO/libheif. More...

#include <string>
+ Include dependency graph for heic_settings.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CaptureMoment::Core::ImageConfig::Heic::HeicSettings
 Input configuration for HEIF/HEIC/AVIF image loading via OIIO/libheif. More...
 

Namespaces

namespace  CaptureMoment
 
namespace  CaptureMoment::Core
 Manages the lifecycle of a single IWorkingImage instance.
 
namespace  CaptureMoment::Core::ImageConfig
 
namespace  CaptureMoment::Core::ImageConfig::Heic
 Namespace for HEIF/HEIC/AVIF-specific configuration settings.
 

Enumerations

enum class  CaptureMoment::Core::ImageConfig::Heic::AlphaMode : std::uint8_t { CaptureMoment::Core::ImageConfig::Heic::premultiply , CaptureMoment::Core::ImageConfig::Heic::unassociated }
 Controls how unassociated alpha channels are handled during reading. More...
 

Detailed Description

Input configuration settings for HEIF/HEIC/AVIF image loading via OIIO/libheif.

Author
CaptureMoment Team
Date
2026

This file provides a configuration system for HEIF family formats (HEIC based on HEVC/H.265, AVIF based on AV1) via OIIO/libheif.

This struct is used exclusively by SourceManager for loading/reading. Output settings (compression, quality, format choice) are handled by the export module, where the user selects the target format.

All parameters are runtime-configurable with sensible defaults.

Note
Currently OIIO's HEIF reader supports reading as RGB or RGBA, uint8 pixel values. HDR (more than 8 bits) support is planned for future libheif versions.
libheif >= 1.16 required for "oiio:reorient" configuration option.
libheif >= 1.17 required for monochrome HEIC images.
See also
RawSettings For RAW-specific configuration.

Definition in file heic_settings.h.

CaptureMoment — footer