mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Strip the thumbnails
This commit is contained in:
parent
7a9d985240
commit
daca77cc1b
@ -53,6 +53,7 @@ class RasterisedDocumentParser(DocumentParser):
|
|||||||
self.CONVERT,
|
self.CONVERT,
|
||||||
"-scale", "500x5000",
|
"-scale", "500x5000",
|
||||||
"-alpha", "remove",
|
"-alpha", "remove",
|
||||||
|
"-strip", "-trim",
|
||||||
"{}[0]".format(self.document_path),
|
"{}[0]".format(self.document_path),
|
||||||
out_path
|
out_path
|
||||||
)
|
)
|
||||||
@ -77,6 +78,7 @@ class RasterisedDocumentParser(DocumentParser):
|
|||||||
self.CONVERT,
|
self.CONVERT,
|
||||||
"-scale", "500x5000",
|
"-scale", "500x5000",
|
||||||
"-alpha", "remove",
|
"-alpha", "remove",
|
||||||
|
"-strip", "-trim",
|
||||||
gs_out_path,
|
gs_out_path,
|
||||||
out_path
|
out_path
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user