chore (thumbnail): cleanup and support for ai

This commit is contained in:
MickaelK 2023-11-20 23:33:25 +11:00
parent 0d8dce3b99
commit 81578f48cf
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
"3gp": "video/3gpp",
"3gpp": "video/3gpp",
"7z": "application/x-7z-compressed",
"ai": "application/postscript",
"ai": "application/pdf",
"aif": "audio/x-aiff",
"aiff": "audio/x-aiff",
"apk": "application/vnd.android.package-archive",

View file

@ -4,7 +4,7 @@
#include <webp/encode.h>
#include "utils.h"
#define BUF_SIZE 1024 * 128
#define BUF_SIZE 1024 * 16
int tiff_to_webp(int inputDesc, int outputDesc, int targetSize) {
#ifdef HAS_DEBUG