Python Forum
duotone, tritone and quadrotone
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
duotone, tritone and quadrotone
#1
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
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020