To note: Javascript is not running in this browser environment. The canvas element is ignored; instead a placeholder image displays where the canvas would have appeared.
Test purpose
- Create a set of Picture entitys
- Create filters and apply them to the test entitys
The filters applied to each Picture entity are as follows:
- luminanceToAlpha
- luminanceToAlpha → alphaToLuminance
- channelsToAlpha → flood (to black)
- channelsToAlpha → flood (to black) → alphaToChannels
- gray
- grayscale
Touch test: not required
Annotated code