mirror of
https://github.com/danbulant/pngjs
synced 2026-06-09 01:20:39 +00:00
typo in readme (#74)
This commit is contained in:
parent
d64454721c
commit
8bb2686bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ Buffer of image pixel data. Every pixel consists 4 bytes: R, G, B, A (opacity).
|
||||||
### Property: gamma
|
### Property: gamma
|
||||||
Gamma of image (0 if not specified)
|
Gamma of image (0 if not specified)
|
||||||
|
|
||||||
## Packing a PNG and removing alpga (RGBA to RGB)
|
## Packing a PNG and removing alpha (RGBA to RGB)
|
||||||
|
|
||||||
When removing the alpha channel from an image, there needs to be a background color to correctly
|
When removing the alpha channel from an image, there needs to be a background color to correctly
|
||||||
convert each pixel's transparency to the appropriate RGB value. By default, pngjs will flatten
|
convert each pixel's transparency to the appropriate RGB value. By default, pngjs will flatten
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue