Skip to content

Request: Support API-4-style AVIF/HEIF gain-map encoding #454

Description

@gregbenz

libultrahdr currently supports API-4 for JPEG/R, allowing an application to provide an existing base image, gain-map image, and gain-map metadata for packaging without regenerating the gain map.

Could equivalent support be added for AVIF and HEIF output?

This would help applications such as libvips preserve an existing gain map when converting or saving an image. Without it, adopting libultrahdr v2 for AVIF/HEIF may require reconstructing HDR pixels and generating a new gain map, which is slower and can alter the original result.

Related broader transcoding request: #398.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions