add more document formats

This commit is contained in:
j 2025-01-29 21:46:07 +05:30
commit 0963527977

View file

@ -33,7 +33,7 @@ socket.setdefaulttimeout(300)
CHUNK_SIZE = 1024*1024*5
default_media_cache = os.environ.get('oxMEDIA', os.path.join(utils.basedir(), 'media'))
DOCUMENT_FORMATS = ('jpg', 'pdf', 'png')
DOCUMENT_FORMATS = ('jpg', 'pdf', 'png', 'webp', 'avif', 'heic', 'heif')
sync_extensions = ()
def get_frames(filename, prefix, info, force=False):