mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Alpha compositing: support grey+alpha src and non-alpha dst
This commit is contained in:
BIN
test/fixtures/5_webp_a.webp
vendored
Normal file
BIN
test/fixtures/5_webp_a.webp
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
BIN
test/fixtures/expected/overlay-jpeg-with-greyscale.jpg
vendored
Normal file
BIN
test/fixtures/expected/overlay-jpeg-with-greyscale.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
BIN
test/fixtures/expected/overlay-jpeg-with-rgb.jpg
vendored
Normal file
BIN
test/fixtures/expected/overlay-jpeg-with-rgb.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 230 KiB |
BIN
test/fixtures/expected/overlay-jpeg-with-webp.jpg
vendored
Normal file
BIN
test/fixtures/expected/overlay-jpeg-with-webp.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
1
test/fixtures/index.js
vendored
1
test/fixtures/index.js
vendored
@@ -62,6 +62,7 @@ module.exports = {
|
||||
inputPngAlphaPremultiplicationLarge: getPath('alpha-premultiply-2048x1536-paper.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
|
||||
inputTiff: getPath('G31D.TIF'), // http://www.fileformat.info/format/tiff/sample/e6c9a6e5253348f4aef6d17b534360ab/index.htm
|
||||
inputGif: getPath('Crash_test.gif'), // http://upload.wikimedia.org/wikipedia/commons/e/e3/Crash_test.gif
|
||||
inputSvg: getPath('Wikimedia-logo.svg'), // http://commons.wikimedia.org/wiki/File:Wikimedia-logo.svg
|
||||
|
||||
Reference in New Issue
Block a user