• Login or register

discuss.effbot.org

  • Popular
  • Recent
  • Sepia Toning with PIL (effbot.org)
    1 point by effbot 1 year ago
    • 2 comments
  • 1 point by espenmn 1 month ago 1 child

    Is there a way to do the same to just colorize an image (so that 0% in the B/W image becomes 0% and 100% Black become just the color (without black). This would be the same effect as "Screen" in Adobe Photoshop.

    • link
    • reply
    • 1 point by effbot 1 month ago 0 children

      There's a screen implementation in the ImageChops module. Something like ImageChops.screen(im, Image.new(im.mode, im.size, color)) might do what you want (where im is the source image, and color is a RGB tuple or specifier).

      • link
      • reply
  • Widget
  • Recent Comments
  • Leaders
Powered by