algoo / preview-generator

generates previews of files with cache management
https://pypi.org/project/preview-generator/
MIT License
228 stars 51 forks source link

Check imagemagick unsupported file_extension and add proper mimetype #157

Open inkhey opened 4 years ago

inkhey commented 4 years ago

Currently some exotic file_extension supported by imagemagick are not handled because mimetypes lib cannot find proper mimetype associated to them.

As soon as https://github.com/algoo/preview-generator/pull/153 and https://github.com/algoo/preview-generator/pull/148 are merged, we should check if we can add some file_extension/mimetype association to add support to some new file type.