disabled thumbnail trimming.

This commit is contained in:
jonaswinkler 2020-12-04 12:44:02 +01:00
parent eb5bdc48aa
commit 991a46c4f0

View File

@ -31,7 +31,7 @@ class RasterisedDocumentParser(DocumentParser):
scale="500x5000>", scale="500x5000>",
alpha="remove", alpha="remove",
strip=True, strip=True,
trim=True, trim=False,
input_file="{}[0]".format(document_path), input_file="{}[0]".format(document_path),
output_file=out_path, output_file=out_path,
logging_group=self.logging_group) logging_group=self.logging_group)
@ -55,7 +55,7 @@ class RasterisedDocumentParser(DocumentParser):
scale="500x5000>", scale="500x5000>",
alpha="remove", alpha="remove",
strip=True, strip=True,
trim=True, trim=False,
input_file=gs_out_path, input_file=gs_out_path,
output_file=out_path, output_file=out_path,
logging_group=self.logging_group) logging_group=self.logging_group)