Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

disabled thumbnail trimming.

jonaswinkler991a46c4f034
diff --git a/src/paperless_tesseract/parsers.py b/src/paperless_tesseract/parsers.py
index 66001286c..454617728 100644
--- a/src/paperless_tesseract/parsers.py
+++ b/src/paperless_tesseract/parsers.py
@@ -31,7 +31,7 @@ class RasterisedDocumentParser(DocumentParser):
scale="500x5000>",
alpha="remove",
strip=True,
- trim=True,
+ trim=False,
input_file="{}[0]".format(document_path),
output_file=out_path,
logging_group=self.logging_group)
@@ -55,7 +55,7 @@ class RasterisedDocumentParser(DocumentParser):
scale="500x5000>",
alpha="remove",
strip=True,
- trim=True,
+ trim=False,
input_file=gs_out_path,
output_file=out_path,
logging_group=self.logging_group)