Skip to content

Commit

Permalink
chore (thumbnail): cleanup and support for ai
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Nov 20, 2023
1 parent 0d8dce3 commit 81578f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/mime.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion server/plugin/plg_image_c/image_tiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81578f4

Please sign in to comment.