python - How to combine (Logical OR) two images with pillow? -


i have 2 binary black , white images (mode=1) in pillow. i'd create new image of same size binary addition of both. in other words, i'd logical oring of each pixel.

i've been reading docs while , can't figure out seemingly simple task. ideas?


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -