Skip to content

decoding Tiff file issue (-215:Assertion failed) #22388

@sturkmen72

Description

@sturkmen72

ref : forum.opencv.org question

i can open the referenced file when i remove the line https://github.com/opencv/opencv/blob/4.x/modules/imgcodecs/src/grfmt_tiff.cpp#L663
CV_Assert(((uint64_t)tile_width0 * tile_height0 * ncn * std::max(1, (int)(bpp / bitsPerByte)) < MAX_TILE_SIZE) && "TIFF tile size is too large: >= 1Gb");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions