Skip to content

ktx2check bug: "ERROR: Size of image data in file does not match size calculated from levelIndex" with no key value data #395

@richgel999

Description

@richgel999

If the file is UASTC with no supercompression, and contains no key value fields at all, 12 mipPadding alignment bytes are required but the validator doesn't account for them. Here's an example file:

kodim18.zip

If key value fields are present I wasn't able to reproduce this after a few attempts, so it may only occur with no key value fields.

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