Image parser utility written in Ruby that generates Java code