Skip to content

Decoding errors on large images #44

@gifbadge

Description

@gifbadge

Describe the bug
When decoding large and complex images, there will be errors in the output.
This doesn't seem to happen when decoding "simple" images of the same size.
If I enable the CRC check, the decode process returns PNG_DECODE_ERROR, which I believe means in this case that the CRC check failed. No errors are reported if the CRC check is off.

To Reproduce
Steps to reproduce the behavior:

  1. Build linux/examples/png2bmp
  2. try to convert this file
Image 3. Receive bad result result

temp.bmp

Expected behavior
The image to decode successfully.

Additional context
This appears to only happen on larger images. They should be all below the limits set by PNGDec.h for the linux target though

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions