everything is defined in graphics.js it is curently very basic et poorly performing but png/jpg files can be displayed