Skip to content

Commit

Permalink
Merge branch 'master' of github.com:melianmiko/zmake
Browse files Browse the repository at this point in the history
  • Loading branch information
melianmiko committed Jun 1, 2023
2 parents cccf7fc + a395b44 commit d3eda49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ some notices.
|-------------|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `.p.png` | `TGA-P` | Palette-encoded image. You can use any RGBA colors inside your image, but single image can't contain more than 256 different colors (one color with different transparency layer wasn't the same color). No specific compression will be applied. Final image filesize will be `64 + (count_of_colors * 4) + (width * height)` bytes. |
| `.rlp.png` | `TGA-RLP` | Same as `TGA-P`, but also use per-line pixel compression. E.g. same pixels in one line will be written once. But images encoded in that way can't be rotated, so don't use this format for clock pointers. |
| `.rgb.png` | `TGA-RGB` | 16-bit RGB images, e.g. 5-6 bits per channel. Images in that format can't contain transparent parts. File size will be `64 + (2 * width * height)` bytes. |
| `.rgba.png` | `TGA-RGBA` | Full 32-bit RGBA image, e.g. 8 bit for channel. No color limitations, but very big file size: `64 + (4 * width * height)` bytes. |
| `.rgb.png` | `TGA-16` | 16-bit RGB images, e.g. 5-6 bits per channel. Images in that format can't contain transparent parts. File size will be `64 + (2 * width * height)` bytes. |
| `.rgba.png` | `TGA-32` | Full 32-bit RGBA image, e.g. 8 bit for channel. No color limitations, but very big file size: `64 + (4 * width * height)` bytes. |

If you don't set compression format via filename, default
will be used (TGA-P).
Expand Down

0 comments on commit d3eda49

Please sign in to comment.