Skip to content

Commit b519e6d

Browse files
committed
docs: encode speed tips do not apply to truecolor-alpha [skip-ci]
the worst-case file sizes make it not worth changing defaults
1 parent b9e894c commit b519e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/encode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ The default encoder settings match the [reference implementation](http://libpng.
209209
and will produce files of the exact same size, but there are settings that offer
210210
better performance for a small increase in file size. Reducing compression level (set `SPNG_IMG_COMPRESSION_LEVEL` to a value lower than `6`) will reduce encoding time for all image types.
211211
212-
* Truecolor and truecolor-alpha images - Reduce compression level (between `1` and `5`) and leave everything else on defaults,
212+
* Truecolor images - Reduce compression level (between `1` and `5`) and leave everything else on defaults,
213213
file size should not increase by more than 10% but encode up to three times faster.
214214
215215
* Indexed-color - Choose a reduced compression level (`1`-`5`), file size should stay within 5% but encode up to two times faster.

0 commit comments

Comments
 (0)