mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 02:27:10 -04:00 
			
		
		
		
	Merge pull request #527 from sbrunner/strip
Strip and trim the thumbnails
This commit is contained in:
		
						commit
						6e115bf2e6
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user