# image path: /images/exdraw/${sdocUuid}/${filename}
EXDRAW_IMAGES_DIR = '/images/exdraw/'

MIMETYPE_FILE_TYPE_MAPPING = {
    'image/svg+xml': 'svg',
    'image/png': 'png',
    'image/jpeg': 'jpg',
    'image/gif': 'gif',
    'image/webp': 'webp',
    'image/bmp': 'bmp',
    'image/x-icon': 'ico',
    'image/avif': 'avif',
    'image/jfif': 'jfif'
}

FILE_TYPE_MIMETYPE_MAPPING = {
    'svg': 'image/svg+xml',
    'png': 'image/png',
    'jpg': 'image/jpeg',
    'gif': 'image/gif',
    'webp': 'image/webp',
    'bmp': 'image/bmp',
    'ico': 'image/x-icon',
    'avif': 'image/avif',
    'jfif': 'image/jfif'
}
