Added file extension to output string.
Added imageCreate().