Open careyes17 opened 2 years ago
Upon further inspection, it seems like issue #60 might have impacted this move to 2 bit depth. This might be worth rolling back. Or at least changing the images I listed above to a bit depth of 8.
On a side note, would it be acceptable to contribute testing (and some refactoring) to this project?
What is the problem?
When doing a clean clone of the repository, building, and then launching into the Slick implementation with
NullpoMinoSlick.launch
, I get the following exception for certain PNG files:Notice that when
Loading image from res/graphics/menu.png
anIOException: Unsupported bit depth
is raised.Files affected
Question
Is there a reason why a bit depth of 2 is used here for these files? I suspect there isn't because other similar background files like
fieldbg2_small.png
use a bit depth of 8.Possible corrections
Simply convert the files with a bit depth of 2 into a bit depth of 8. I've done this in my local environment and it's done the trick of removing this exception.
Environment