int solarize(int pixel, int s)
The newly solarized pixel value.
Applies a simple solarize effect to the image, which morphs an image with its inverse.
ctl[0]: "Solarize", Range=(0,255), Val=0 ForEveryTile: { for (y = y_start; y < y_end; y++) { for (x = x_start; x < x_end; x++) { for (z=0; z < 3; z++) { pset(x,y,z, solarize( src(x,y,z), ctl(0) )); } } } return true; }
blend, contrast, gray, saturation, tone