mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Strip the thumbnails
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user