mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Add test to verify that specifying standard qtables and a quality is equivalent to specifying only a quality
This commit is contained in:
		
							parent
							
								
									13bffef91d
								
							
						
					
					
						commit
						70272591f8
					
				| 
						 | 
				
			
			@ -614,6 +614,10 @@ class TestFileJpeg:
 | 
			
		|||
                    None
 | 
			
		||||
                )
 | 
			
		||||
            ]
 | 
			
		||||
            
 | 
			
		||||
            qtable_from_qtable_quality = self.roundtrip(im, qtables={0:standard_l_qtable,1:standard_chrominance_qtable}, quality=75).quantization
 | 
			
		||||
            qtable_from_quality = self.roundtrip(im, quality=75).quantization
 | 
			
		||||
            assert qtable_from_qtable_quality == qtable_from_quality
 | 
			
		||||
            # list of qtable lists
 | 
			
		||||
            assert_image_similar(
 | 
			
		||||
                im,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user