lovell/sharp

Enhancement: expose vips_relational operation

Open

#1 015 ouverte le 4 nov. 2017

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)JavaScript (31 994 stars) (1 389 forks)batch import
enhancementhelp wanted

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?

Guide contributeur