Created
January 17, 2022 10:22
-
-
Save VictorieeMan/a8b06ce37ac64af858e965aa5c66ddf7 to your computer and use it in GitHub Desktop.
PIL images modes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| These where to difficult to find on the internet so I saved them in a gist. | |
| The mode of an image defines the type and depth of a pixel in the image. The current release supports the following standard modes: | |
| 1 (1-bit pixels, black and white, stored with one pixel per byte) | |
| L (8-bit pixels, black and white) | |
| P (8-bit pixels, mapped to any other mode using a colour palette) | |
| RGB (3x8-bit pixels, true colour) | |
| RGBA (4x8-bit pixels, true colour with transparency mask) | |
| CMYK (4x8-bit pixels, colour separation) | |
| YCbCr (3x8-bit pixels, colour video format) | |
| I (32-bit signed integer pixels) | |
| F (32-bit floating point pixels) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment