FileSignatures
FileSignatures copied to clipboard
FileFormat does not support multiple extensions
Some file formats have multiple extensions and it would be nice to be able to have aliases for them. For example, image/jpeg can be .jpg or .jpeg and image/tiff can be .tif or .tiff.
Suggested change:
- Add a new property to
FileFormatcalled something likeExtensionsorOtherExtensions - Update constructors to allow an optional list/array of alternate extensions to be passed
Sure, we had a similar request recently which I've started implementing - I'll try to find some time to finish it off.
I stumbled over the same problem. Implemented a workaround right now where I compared the media type. @neilharvey: If you need some help to provide a fix, let me know...