draw2d jpeg