Task #39907: added possibility to save image files