Replace image pixel color on condition in Python

后端 未结 2 664
醉话见心
醉话见心 2021-01-21 12:46

I have an RGBA image where I have to find if any pixel has red value < 150 and to replace such pixels to black. I am using following code for this:

import nu         


        
2条回答
提交回复
热议问题