mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fix default value for OCR_MAX_IMAGE_PIXELS
This commit is contained in:
parent
559f7c2683
commit
5d91d6a885
@ -490,7 +490,7 @@ OCR_ROTATE_PAGES_THRESHOLD = float(
|
||||
)
|
||||
|
||||
OCR_MAX_IMAGE_PIXELS = os.environ.get(
|
||||
'PAPERLESS_OCR_MAX_IMAGE_PIXELS', Image.MAX_IMAGE_PIXELS
|
||||
'PAPERLESS_OCR_MAX_IMAGE_PIXELS', 256000000
|
||||
)
|
||||
|
||||
OCR_USER_ARGS = os.getenv("PAPERLESS_OCR_USER_ARGS", "{}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user