mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add bandbool feature for channel-wise boolean operations (#496)
This commit is contained in:
committed by
Lovell Fuller
parent
a982cfdb20
commit
65b7f7d7d5
BIN
test/fixtures/bandbool.png
vendored
Normal file
BIN
test/fixtures/bandbool.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
test/fixtures/expected/bandbool_and_result.png
vendored
Normal file
BIN
test/fixtures/expected/bandbool_and_result.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
BIN
test/fixtures/expected/bandbool_eor_result.png
vendored
Normal file
BIN
test/fixtures/expected/bandbool_eor_result.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.6 KiB |
BIN
test/fixtures/expected/bandbool_or_result.png
vendored
Normal file
BIN
test/fixtures/expected/bandbool_or_result.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
1
test/fixtures/index.js
vendored
1
test/fixtures/index.js
vendored
@@ -79,6 +79,7 @@ module.exports = {
|
||||
inputPngOverlayLayer2LowAlpha: getPath('alpha-layer-2-ink-low-alpha.png'),
|
||||
inputPngAlphaPremultiplicationSmall: getPath('alpha-premultiply-1024x768-paper.png'),
|
||||
inputPngAlphaPremultiplicationLarge: getPath('alpha-premultiply-2048x1536-paper.png'),
|
||||
inputPngBooleanNoAlpha: getPath('bandbool.png'),
|
||||
|
||||
inputWebP: getPath('4.webp'), // http://www.gstatic.com/webp/gallery/4.webp
|
||||
inputWebPWithTransparency: getPath('5_webp_a.webp'), // http://www.gstatic.com/webp/gallery3/5_webp_a.webp
|
||||
|
||||
Reference in New Issue
Block a user