FFMpeg-Compressor: Add .bmp support

This commit is contained in:
OleSTEEP 2023-10-02 19:50:36 +03:00
parent e3b21e7d81
commit c36a403a1c
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ def get_req_ext(file):
def get_file_type(file):
audio_ext = ['.aac', '.flac', '.m4a', '.mp3', '.ogg', '.opus', '.raw', '.wav', '.wma']
image_ext = ['.apng', '.avif', '.jfif', '.pjpeg', '.pjp', '.svg', '.webp', '.jpg', '.jpeg', '.png', '.raw']
image_ext = ['.apng', '.avif', '.bmp', '.jfif', '.pjpeg', '.pjp', '.svg', '.webp', '.jpg', '.jpeg', '.png', '.raw']
video_ext = ['.3gp' '.amv', '.avi', '.gif', '.m4v', '.mkv', '.mov', '.mp4', '.m4v', '.mpeg', '.mpv', '.webm',
'.ogv']
file_extension = os.path.splitext(file)[1]