Per the docs, NSImage.imageTypes
returns a list UTI's, something like below:
com.adobe.pdf
com.apple.pict
com.adobe.encapsulated-postscript
public.jpeg
public.png
com.compuserve.gif
com.canon.tif-raw-image
...
What I need is get file extensions of a UTI. For example, public.jpeg
picture file may have several file extensions, say .jpg,.jpeg,.jfif
.
Does Cocoa provide any API to query for this information?