Adding output format for images