mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Merge pull request #3740 from radarhere/remap_palette
Corrected remap_palette documentation
This commit is contained in:
		
						commit
						e7c2828b4e
					
				|  | @ -1688,7 +1688,7 @@ class Image(object): | ||||||
|         Rewrites the image to reorder the palette. |         Rewrites the image to reorder the palette. | ||||||
| 
 | 
 | ||||||
|         :param dest_map: A list of indexes into the original palette. |         :param dest_map: A list of indexes into the original palette. | ||||||
|            e.g. [1,0] would swap a two item palette, and list(range(255)) |            e.g. [1,0] would swap a two item palette, and list(range(256)) | ||||||
|            is the identity transform. |            is the identity transform. | ||||||
|         :param source_palette: Bytes or None. |         :param source_palette: Bytes or None. | ||||||
|         :returns:  An :py:class:`~PIL.Image.Image` object. |         :returns:  An :py:class:`~PIL.Image.Image` object. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user