Added sniffing logic for image media type
authorJoar Wandborg <git@wandborg.com>
Thu, 16 Feb 2012 17:43:15 +0000 (18:43 +0100)
committerJoar Wandborg <git@wandborg.com>
Thu, 16 Feb 2012 17:43:15 +0000 (18:43 +0100)
commit92f129b5c707bdeaceb0cdf9807342b52db33b45
tree1ebd367498a578be7790e5fe548420b6332e6f8b
parentec4261a449c11b015190bc90dd9ae828261065cd
Added sniffing logic for image media type

For now, it's a re-implementation of the old file-extension checking
logic, as I have not found a GStreamer-like "discoverer" in PIL.
mediagoblin/media_types/image/processing.py