grunt-lucas / porytiles

Overworld tileset compiler for Pokémon Generation 3 decompilation projects
MIT License
27 stars 3 forks source link

libpng warning: Image height is zero in IHDR #48

Open Nexxo11 opened 3 weeks ago

Nexxo11 commented 3 weeks ago

Describe the bug I'm encountering a libpng warning: Image height is zero in IHDR when trying to compile a secondary tileset using Porytiles. This error seems to indicate that one of the images being processed has a height of zero pixels, which could suggest the image is corrupt or malformed.

Additional context Please include:

Environment (please complete the following information):

grunt-lucas commented 3 weeks ago

/mnt/c/Users/Usuario/Documents/Decomp/pokeemerald-expansion/data/tilesets/secondary/city_tiles

If this is your paired primary tileset, it needs to be a Porytiles-format tileset. Unfortunately you cannot currently use compiled Porymap-format tilesets for the paired primary. This is possibly why you are seeing that error message.

I am planning on adding the ability to use a compiled Porymap-format tileset as the paired primary, that's tracked in #47