CodeF53 / PackXBR

A utility for automatic application of the XBR scaling algorithm to game textures.
12 stars 1 forks source link

Crashes due to Very Small Images #4

Closed CodeF53 closed 3 years ago

CodeF53 commented 3 years ago

Source images with a resolution with a width or height equal to 1 crash the program.

CodeF53 commented 3 years ago

This is most likely caused by the current handling of image borders as a tiled plane. As it wasn't present before that change.

CodeF53 commented 3 years ago

1x1 images are typically used to have no detail.

Because of this, it is possible these images should be ignored.