mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Explicitly declare code as Python [ci skip]
This commit is contained in:
		
							parent
							
								
									d53602ea6e
								
							
						
					
					
						commit
						f67f819a3d
					
				|  | @ -159,6 +159,8 @@ can be used with most uncompressed file formats, such as PPM, BMP, uncompressed | |||
| TIFF, and many others. To use the raw decoder with the | ||||
| :py:func:`PIL.Image.frombytes` function, use the following syntax:: | ||||
| 
 | ||||
| .. code-block:: python | ||||
| 
 | ||||
|     image = Image.frombytes( | ||||
|         mode, size, data, "raw", | ||||
|         raw mode, stride, orientation | ||||
|  | @ -269,6 +271,8 @@ image memory. | |||
| To use the bit decoder with the :py:func:`PIL.Image.frombytes` function, use | ||||
| the following syntax:: | ||||
| 
 | ||||
| .. code-block:: python | ||||
| 
 | ||||
|     image = Image.frombytes( | ||||
|         mode, size, data, "bit", | ||||
|         bits, pad, fill, sign, orientation | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user