enhanced 'export to image' functionality