We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a675af0 + e16bb1b commit 68f9a32Copy full SHA for 68f9a32
2 files changed
.pre-commit-config.yaml
@@ -11,7 +11,7 @@ repos:
11
- id: end-of-file-fixer
12
- id: requirements-txt-fixer
13
- id: trailing-whitespace
14
- - repo: https://github.com/ambv/black
+ - repo: https://github.com/psf/black
15
rev: 23.11.0
16
hooks:
17
- id: black
src/app/engine/rasterizers.py
@@ -2,6 +2,9 @@
2
3
from django.conf import settings
4
from pdf2image import convert_from_path
5
+from PIL import Image
6
+
7
+Image.MAX_IMAGE_PIXELS = 1000000000
8
9
10
class PdfRasterizer:
0 commit comments