HTML5 Canvas Sepia 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 apply a sepia effect to an image with Konva, we can use the Konva.Filters.Sepia
.
For all available filters go to Filters Documentation.
- Vanilla
- React
- Vue