Skip to content

Investigate more options for client-side image controls #79

Description

@dstndstn

Beyond brightness/contrast sliders.

The SVG standard has a rich set of color transformation functions, the most general being component-wise functions including gamma and piecewise linear:
https://drafts.fxtf.org/filter-effects/#feFuncRElement
There is also a matrix combiner for RGBA,
https://drafts.fxtf.org/filter-effects/#feColorMatrixElement

Not sure whether this can wrap our whole Leaflet map object. Looks like maybe you can, using the 'url' function in CSS:
https://developer.mozilla.org/en-US/docs/Web/CSS/filter#applying_svg_filters

This page gives a good summary of the CSS filters available and their SVG equivalents.
https://developer.mozilla.org/en-US/docs/Web/CSS/filter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions