Badly structured source images can lead to rendering errors when oversampled

Description

The code is currently not cutting images to the requested area if we don't have a projection handler, if we scale them up the result can be an image that has a sample model exceeding the limits of integer numbers, which in turn causes exceptions during SampleModel creation.

Try to cut the images to the requested area even when we don't have a projection handler for their projection

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Priority

Medium
Configure