Skip to content

“Image too big” thrown when file does not exist #210

@Wrzlprmft

Description

@Wrzlprmft

When I enter a wrong filename, I do not get the expected FileNotFoundError, but: “Image too big for processing”:

import rawpy
from pytest import raises

filename = "wrzlprmft.CR2"

with raises(FileNotFoundError):
	open(filename,"rb")

with raises(FileNotFoundError):
	rawpy.imread("non_existing_file.CR2")

This happens to me with RawPy version 0.18.1 and rawpy.libraw_version being (0,21,1).

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