Skip to content

Commit

Permalink
Fix the creation of TotalCross modules (tcz file) using Java headless (
Browse files Browse the repository at this point in the history
…#45)

Deploy uses TotalCross' Image class to convert unsupported image
formats to PNG, and this process relied on classes from java.awt
and Toolkit, which may not be available on headless distros.

Changed implementation of ImageLoader to perform this conversion
using ImageIO instead, with some refactoring along the way for
clarity.

Fixes #27

Co-authored-by: Fabio <flsobral@gmail.com>
  • Loading branch information
ItaloYeltsin and flsobral committed Jun 19, 2020
1 parent 37d9ffb commit bd9fb51
Showing 1 changed file with 126 additions and 263 deletions.

0 comments on commit bd9fb51

Please sign in to comment.