meh2481 / wfLZEx

Simple image-decompressing program for WayForward's .anb format used in their game DuckTales: Remastered
Do What The F*ck You Want To Public License
13 stars 5 forks source link

Don't sheet or icon if there's only one image #6

Open meh2481 opened 4 years ago

meh2481 commented 4 years ago

When performing batch processing of a bunch of .anb files, it's common to pass in the same commandline parameters to all. If the .anb file in question has only one animation with only one image, however, it doesn't make sense to create a sheet or an icon for it. Doing so litters the output folder with a bunch of useless icons, and each output image has a 2px square of background color around it. Instead, no sheeting or icon-generating should be done if the .anb has only one anim with only one frame.