johkelly / ppm2jack

Command line utility to convert a .ppm file to a series of draw commands in the Jack programming language.
0 stars 0 forks source link

Portability #1

Open johkelly opened 11 years ago

johkelly commented 11 years ago

While using C++ as a language makes the utility highly portable on linux systems, it still leaves work to be done porting it to Windows and Mac systems.

Recommend investigating file handling / image parsing in Java, to match the language of the other utilities in the NtT suite and to allow better cross-platform portability.

johkelly commented 11 years ago

JAI and BufferedImage both look promising.

http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/image/BufferedImage.html

BI in particular looks to abstract out the file reading step and allow us to use other image formats than ppm.