Svelte Multitone Image

Home Docs Demo Github

A simple image renderer to apply multitone effects for svelte.

<MultitoneImage
    src=/_app/immutable/assets/image.o6IH99hX.jpg
    alt="processed image"
    colors="{['#ff00ff', '#ffff00']}"
    amplitude=1.1
    exponent=1.3 />

See the Docs for more information

The original image
processed image
The processed image
processed image
The colour array can have more than one colour.
Default values will generate a grayscale image.