初始化模版工程
This commit is contained in:
6
components/image-editor/consts.ts
Normal file
6
components/image-editor/consts.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const MB = 1024 * 1024
|
||||
export const MAX_IMAGE_SIZE_BYTES = 20 * MB
|
||||
export const NEED_COMPRESS_MIN_SIZE = 3 * MB
|
||||
export const NEED_COMPRESS_MAX_SIZE = 10 * MB
|
||||
export const MATTING_MIN_DIM = 32
|
||||
export const MATTING_MAX_DIM = 4000
|
||||
Reference in New Issue
Block a user