mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	fix formatting
This commit is contained in:
		
							parent
							
								
									23c9da5264
								
							
						
					
					
						commit
						23a61b00b5
					
				|  | @ -163,30 +163,6 @@ def hardlight(image1, image2): | |||
|     return image1._new(image1.im.chop_hardlight(image2.im)) | ||||
| 
 | ||||
| 
 | ||||
| def softlight(image1, image2): | ||||
|     """ | ||||
|     Superimposes two images on top of each other using the Soft Light algorithm | ||||
| 
 | ||||
|     :rtype: :py:class:`~PIL.Image.Image` | ||||
|     """ | ||||
| 
 | ||||
|     image1.load() | ||||
|     image2.load() | ||||
|     return image1._new(image1.im.chop_softlight(image2.im)) | ||||
| 
 | ||||
| 
 | ||||
| def hardlight(image1, image2): | ||||
|     """ | ||||
|     Superimposes two images on top of each other using the Hard Light algorithm | ||||
| 
 | ||||
|     :rtype: :py:class:`~PIL.Image.Image` | ||||
|     """ | ||||
| 
 | ||||
|     image1.load() | ||||
|     image2.load() | ||||
|     return image1._new(image1.im.chop_hardlight(image2.im)) | ||||
| 
 | ||||
| 
 | ||||
| def overlay(image1, image2): | ||||
|     """ | ||||
|     Superimposes two images on top of each other using the Overlay algorithm | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user