Support image file generation.