mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	The example from filter should be next to filter method docs, not in 'frombytes'
This commit is contained in:
		
							parent
							
								
									058b8d3d12
								
							
						
					
					
						commit
						f74d7d800c
					
				| 
						 | 
					@ -160,7 +160,6 @@ This crops the input image with the provided coordinates:
 | 
				
			||||||
.. automethod:: PIL.Image.Image.effect_spread
 | 
					.. automethod:: PIL.Image.Image.effect_spread
 | 
				
			||||||
.. automethod:: PIL.Image.Image.entropy
 | 
					.. automethod:: PIL.Image.Image.entropy
 | 
				
			||||||
.. automethod:: PIL.Image.Image.filter
 | 
					.. automethod:: PIL.Image.Image.filter
 | 
				
			||||||
.. automethod:: PIL.Image.Image.frombytes
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
This blurs the input image using a filter from the ``ImageFilter`` module:
 | 
					This blurs the input image using a filter from the ``ImageFilter`` module:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -173,6 +172,7 @@ This blurs the input image using a filter from the ``ImageFilter`` module:
 | 
				
			||||||
    # Blur the input image using the filter ImageFilter.BLUR
 | 
					    # Blur the input image using the filter ImageFilter.BLUR
 | 
				
			||||||
    im_blurred = im.filter(filter=ImageFilter.BLUR)
 | 
					    im_blurred = im.filter(filter=ImageFilter.BLUR)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.. automethod:: PIL.Image.Image.frombytes
 | 
				
			||||||
.. automethod:: PIL.Image.Image.getbands
 | 
					.. automethod:: PIL.Image.Image.getbands
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This helps to get the bands of the input image:
 | 
					This helps to get the bands of the input image:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user