mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-02 18:47:10 -05:00 
			
		
		
		
	disabled thumbnail trimming.
This commit is contained in:
		
							parent
							
								
									eb5bdc48aa
								
							
						
					
					
						commit
						991a46c4f0
					
				@ -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)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user