Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

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

Description

@pleonex

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions