diff --git a/src/constants/apiLimits.ts b/src/constants/apiLimits.ts index 9746b030..a2739843 100644 --- a/src/constants/apiLimits.ts +++ b/src/constants/apiLimits.ts @@ -33,14 +33,14 @@ export const IMAGE_TARGET_RAW_SIZE = (API_IMAGE_MAX_BASE64_SIZE * 3) / 4 // 3.75 * * Note: The API internally resizes images larger than 1568px (source: * encoding/full_encoding.py), but this is handled server-side and doesn't - * cause errors. These client-side limits (2000px) are slightly larger to + * cause errors. These client-side limits (1568px) are slightly larger to * preserve quality when beneficial. * * The API_IMAGE_MAX_BASE64_SIZE (5MB) is the actual hard limit that causes * API errors if exceeded. */ -export const IMAGE_MAX_WIDTH = 2000 -export const IMAGE_MAX_HEIGHT = 2000 +export const IMAGE_MAX_WIDTH = 1568 +export const IMAGE_MAX_HEIGHT = 1568 // ============================================================================= // PDF LIMITS