Adjust JPEG quality for large photos

This commit is contained in:
2026-04-25 10:41:39 +01:00
parent 1ba4afdf08
commit 9f2f233c22

View File

@@ -10,7 +10,7 @@ import { isMobile } from '../utils/device';
import Blurhash from './blurhash'; import Blurhash from './blurhash';
const MAX_IMAGE_DIMENSION = 1920; const MAX_IMAGE_DIMENSION = 1920;
const IMAGE_QUALITY = 0.94; const IMAGE_QUALITY = 0.9;
const MAX_THUMBNAIL_DIMENSION = 350; const MAX_THUMBNAIL_DIMENSION = 350;
const THUMBNAIL_QUALITY = 0.9; const THUMBNAIL_QUALITY = 0.9;