Nils Dagsson Moskopp
5b79bc6fb7
Set default encoding to R8G8B8 RAW
...
This the most trivial RGB encoding the encoder supports. Setting
it prevents a crash related to BW8 only supporting RAW encoding.
2022-05-15 19:31:24 +02:00
Nils Dagsson Moskopp
759b0a188f
Allow saving R8G8B8 images as BW8
2022-05-15 19:23:26 +02:00
Nils Dagsson Moskopp
376b6404b2
Allow RAW or RLE encoding for true-color images
2022-05-15 15:56:18 +02:00
Nils Dagsson Moskopp
9bd1702d60
Encode image only when saving it to a file
2022-05-15 14:58:12 +02:00
Nils Dagsson Moskopp
5640e19c94
Add fractal example
2022-05-15 03:10:53 +02:00
Nils Dagsson Moskopp
25b7b30945
Allow encoding grayscale images as BW8
2022-05-14 22:41:52 +02:00
Nils Dagsson Moskopp
9af0719df8
Allow encoding RGB images as B8G8R8
2022-05-14 21:56:42 +02:00
Nils Dagsson Moskopp
1b48c3f539
Use raw packets in RLE compression in tga_encoder
2022-05-14 21:52:08 +02:00
Nils Dagsson Moskopp
13552f16f2
Reduce TGA filesize by 25% by using 16-bit colors
2022-05-14 21:52:07 +02:00
Nils Dagsson Moskopp
4f6ea5d035
Add credits to README
2022-05-14 21:52:07 +02:00
Nils Dagsson Moskopp
c00b0d50c6
Add usage examples
2022-05-14 21:52:00 +02:00
Nils Dagsson Moskopp
adb8e45d67
Fix TGA file writing on Windows
...
Before this patch, the tga_encoder mod would write corrupted TGA files
on Windows: Bytes that looked like newlines were replaced by a carriage
return and a newline.
2022-05-14 20:21:59 +02:00
Nils Dagsson Moskopp
3f60b5baa6
Speed up TGA encoding by creating fewer strings
2022-05-14 20:21:58 +02:00
Nils Dagsson Moskopp
52e5c955f0
Use RLE compression in tga_encoder
2022-05-14 20:21:58 +02:00
Elias Fleckenstein
b88579b52e
Add updated tga_encoder
2022-05-14 20:21:58 +02:00
Elias Fleckenstein
eaa4dc99d7
Initial import
2022-05-14 20:21:52 +02:00