Browse Source

Bullets in bold

pull/10/head
Jure Šorn 6 years ago
parent
commit
a1366598b2
1 changed files with 33 additions and 33 deletions
  1. 66
      README.md

66
README.md

@ -354,15 +354,15 @@ Format
``` ```
#### Float presentation types: #### Float presentation types:
* `'f'` - Fixed point: `.<precision>f` * **`'f'` - Fixed point: `.<precision>f`**
* `'%'` - Percent: `.<precision>%` * **`'%'` - Percent: `.<precision>%`**
* `'e'` - Exponent * **`'e'` - Exponent**
#### Integer presentation types: #### Integer presentation types:
* `'c'` - character * **`'c'` - character**
* `'b'` - binary * **`'b'` - binary**
* `'x'` - hex * **`'x'` - hex**
* `'X'` - HEX * **`'X'` - HEX**
Numbers Numbers
@ -899,18 +899,18 @@ while True:
* **`'t'` - Text mode (default).** * **`'t'` - Text mode (default).**
#### Newline - input: #### Newline - input:
* `'None'` - Input is broken on `'\n'`, `'\r'` and `'\r\n'`. `'\r'` and `'\r\n'` are translated to `'\n'`. * **`'None'` - Input is broken on `'\n'`, `'\r'` and `'\r\n'`. `'\r'` and `'\r\n'` are translated to `'\n'` (default).**
* `''` - Input is broken on `'\n'`, `'\r'` and `'\r\n'`. * **`''` - Input is broken on `'\n'`, `'\r'` and `'\r\n'`.**
* `'\n'` - Input is broken on `'\n'`. * **`'\n'` - Input is broken on `'\n'`.**
* `'\r'` - Input is broken on `'\r'`. * **`'\r'` - Input is broken on `'\r'`.**
* `'\r\n'` - Input is broken on `'\r\n'`. * **`'\r\n'` - Input is broken on `'\r\n'`.**
#### Newline - output: #### Newline - output:
* `'None'` - Any `'\n'` is translated to system default line separator. * **`'None'` - Any `'\n'` is translated to system default line separator (default).**
* `''` - No translation. * **`''` - No translation.**
* `'\n'` - No translation. * **`'\n'` - No translation.**
* `'\r'` - Any `'\n'` is translated to `'\r'`. * **`'\r'` - Any `'\n'` is translated to `'\r'`.**
* `'\r\n'` - Any `'\n'` is translated to `'\r\n'`. * **`'\r\n'` - Any `'\n'` is translated to `'\r\n'`.**
#### Read Text from File: #### Read Text from File:
```python ```python
@ -1104,19 +1104,19 @@ b'\x00\x01\x00\x02\x00\x00\x00\x03'
### Format ### Format
#### For standard sizes start format string with: #### For standard sizes start format string with:
* `'='` - native byte order * **`'='` - native byte order**
* `'<'` - little-endian * **`'<'` - little-endian**
* `'>'` - big-endian * **`'>'` - big-endian**
#### Use capital letter for unsigned type. Standard size in brackets: #### Use capital letter for unsigned type. Standard size in brackets:
* `'x'` - pad byte * **`'x'` - pad byte**
* `'c'` - char (1) * **`'c'` - char (1)**
* `'h'` - short (2) * **`'h'` - short (2)**
* `'i'` - int (4) * **`'i'` - int (4)**
* `'l'` - long (4) * **`'l'` - long (4)**
* `'q'` - long long (8) * **`'q'` - long long (8)**
* `'f'` - float (4) * **`'f'` - float (4)**
* `'d'` - double (8) * **`'d'` - double (8)**
Array Array
@ -1561,11 +1561,11 @@ img.save('test.png')
``` ```
### Modes ### Modes
* `'1'` - 1-bit pixels, black and white, stored with one pixel per byte. * **`'1'` - 1-bit pixels, black and white, stored with one pixel per byte.**
* `'L'` - 8-bit pixels, greyscale. * **`'L'` - 8-bit pixels, greyscale.**
* `'RGB'` - 3x8-bit pixels, true color. * **`'RGB'` - 3x8-bit pixels, true color.**
* `'RGBA'` - 4x8-bit pixels, true color with transparency mask. * **`'RGBA'` - 4x8-bit pixels, true color with transparency mask.**
* `'HSV'` - 3x8-bit pixels, Hue, Saturation, Value color space. * **`'HSV'` - 3x8-bit pixels, Hue, Saturation, Value color space.**
Audio Audio

|||||||
100:0
Loading…
Cancel
Save