determine image file extension from a uniform type identifier
add image type selection to general preferences