Skip to content

toktx error: JPGD_UNEXPECTED_MARKER  #750

@rawnsley

Description

@rawnsley

toktx (v4.0.0~6) fails when compressing this JPEG.

% toktx bad-image.ktx bad-image.jpeg                  
toktx: failed to create image from bad-image.jpeg. JPEG decode failed

I got slightly more info when running in a different environment:

JPEG decode failed: JPGD_UNEXPECTED_MARKER

As far as I can tell the JPEG is well formed. GIMP says it has a color profile, which I know is a problem when compressing PNG files, but I have never had the problem with JPEGs before and the error message is opaque.

Possibly related to this issue, but I couldn't tell at a glance if you are using this decode library.

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