basic png image creation functionality added