More work on export to image format + boxing