Keep imageType and mimeType properties in sync.
Keep imageType and mimeType properties in sync.