skip to Main Content

I’m currently writing a script to generate some textures according to color schemes for a project of mine, and one of the things I need to do is “multiply” the image, much like the layering mode that you can find in Gimp or Photoshop.

However, I’m having trouble figuring out how to do this under Wand. I know that ImageMagick provides the ability to multiply images by running the composite command with the compose flag. However, the equivalent in Wand, Image.composite, does not provide any options aside from the second image and the upper-left coordinates, so it only copies and pastes on top of the underlying image.

Am I missing something, or are there better options available?

2

Answers


  1. Chosen as BEST ANSWER

    I dug further. As far as I can tell, Wand does not support this kind of functionality. So instead I've gone with Pillow, a fork of the Python Imaging Library: https://pypi.python.org/pypi/Pillow


  2. Have you tried Image.composite_channel() method?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search