Skip to content

Can you add an option to ktx create to premultiply image data with alpha and set the flag in DFD? #1048

@jiangzhhhh

Description

@jiangzhhhh

I noticed that the KTX2 specification includes a DFD flag indicating whether image data has already been premultiplied with its alpha channel.
But currently, toktx provides no way to set this flag while also performing the necessary premultiplication on the source image data.
Can add an option to the toktx app (such as -p) to premultiply image data with alpha and set the premultiplied alpha flag in the DFD?​​

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions