duotone, tritone and quadrotone - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Bar (https://python-forum.io/forum-27.html) +--- Thread: duotone, tritone and quadrotone (/thread-35749.html) |
duotone, tritone and quadrotone - DPaul - Dec-09-2021 Hi, I can use python to create duotone images. Convert to black & white. Create a gradient between 2 colors (256 levels) e.g. black + pantone color. Replace every B&W (x,x,x) pixel-tuple with te corresponding gradient value. Now I want to experiment with tritone and quadtone. But the procedure escapes me. Who could describe in pseudo-code, like above, how that is supposed to work? thx, Paul |