Skip to content

imageParseJpeg fails but imageParseStbImage suceeds? #108

@unravel-dev

Description

@unravel-dev

invoking texturec for this particular jpeg fails in the imageParseJpeg
The error in the output is

Error:
Failed to create output: 'MemoryReader: read truncated.'

Also calling imageParse from code, fails in the imageParseJpeg here which fills the error struct

Image

after that the function enters imageParseStbImage which sucessfully parses the image, but then the destructor of the error asserts because it was filled
by the imageParseJpeg

texturec -f 11968150294050148237.jpg -o  result.temp --as dds -t BC3 -m --max 2048

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions