SceneGate/Texim

Unhandled exception importing TIFF when layer size is not multiple of 8

Opened this issue · 0 comments

Description

In the context of importing NDS sprite images (NCER), using a TIFF file with a layer that has not a size multiple of 8 causes an unhandled exception.

We need to investigate if the issue is at the TIFF importing and page converter or in the sprite segmentation logic.

Reproducer

Use the AmbitionConquest project and try to import a TIFF image with a layer not multiple of 8.

Expected behavior

It increases the layer size to the nearest 8 multiple.

Report info

From the AmbitionConquest project.