mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
Strip the thumbnails
This commit is contained in:
parent
7a9d985240
commit
daca77cc1b
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ class RasterisedDocumentParser(DocumentParser):
|
|||
self.CONVERT,
|
||||
"-scale", "500x5000",
|
||||
"-alpha", "remove",
|
||||
"-strip", "-trim",
|
||||
"{}[0]".format(self.document_path),
|
||||
out_path
|
||||
)
|
||||
|
|
@ -77,6 +78,7 @@ class RasterisedDocumentParser(DocumentParser):
|
|||
self.CONVERT,
|
||||
"-scale", "500x5000",
|
||||
"-alpha", "remove",
|
||||
"-strip", "-trim",
|
||||
gs_out_path,
|
||||
out_path
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue