mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add normalize() for simple histogram stretching
Available as normalize() or normalise(). Normalization takes place in LAB place and thus should not change any colors. Existing alpha channels are preserved untouched by normalization.
This commit is contained in:
BIN
test/fixtures/grey-8bit-alpha.png
vendored
Normal file
BIN
test/fixtures/grey-8bit-alpha.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Reference in New Issue
Block a user