Skip to content

height of each frame needs to be multiple of 8 #1

Open
@ghost

Description

If you use an image (with or without frames), each frame height has to be an multiple of 8.
This means that if your frame is actually 6 pixels high, you'll have to add 2 empty pixels.
so if the image has 3 frames of 5 pixels high, your image needs to have a total height of 24 and not 15.

The resulting array needs to be in full bytes, so multiple of 8

img2ard could take this in account, by adding the missing bits by itself

if you name the image correct: image_5x6.png img2ard should now the height is 6 but it needs to ad 2 extra empty pixels for the output.

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions