Artheau / SpriteSomething

A GUI-enabled suite for management and replacement of retro gaming sprites. Most known for its ability to inject custom player graphics into Super Metroid and A Link to the Past. Get the latest version at https://github.com/Artheau/SpriteSomething/releases .
Other
21 stars 16 forks source link

Stable #115

Closed Pneu-matic closed 2 years ago

Pneu-matic commented 3 years ago

I called the filename in export_all_images_to_PNG to get the original image. There must be a better way, but it seems to work.

miketrethewey commented 3 years ago

Why are you checking the width of the image to make sure they're the same? Would a different calculation make more sense?

Pneu-matic commented 3 years ago

It's to check if it's dealing with the link spritesheet.

miketrethewey commented 3 years ago

Ah ha, gotcha.

Pneu-matic commented 3 years ago

That's also why the image load is inside the if statement. If it tries to load a .zspr, PIL doesn't recognize it and it crashes.