lovell/sharp

Enhancement: expose vips_relational operation

Open

#1,015 opened on Nov 4, 2017

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (1,389 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (31,994 stars)
PR merge metrics
 (Avg merge 4d 19h) (18 merged PRs in 30d)

Description

I want to process my images such that only pixels that are a given color (eg: RGB(0,0,100)) will appear in the final image as black, the rest should be white.

Is there any way to add a custom filter/function that is called for each pixel before it is added to the output?

Contributor guide