Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 512 Bytes

RGB.md

File metadata and controls

15 lines (9 loc) · 512 Bytes

title: HTML5 Canvas RGB filter Image Tutorial

To apply filter to an Konva.Image, we have to cache it first with cache() function. Then apply filter with filters() function.

To change rgb components of an image with Konva, we can use the `Konva.Filters.RGB.

Instructions: Slide the controls to change rgb values.

For all available filters go to Filters Documentation.

{% iframe /downloads/code/filters/RGB.html %}

{% include_code Konva RGB Image Demo filters/RGB.html %}