Phython keyer

Does anybody know what python commands I need to be able to read in an image and perform an operation on each pixel. say I have an image then want this script to go through each pixel and if it has a r (or g or b) value greater than 0.5 (for example) then it would assign that pixel as having an alpha value of 1 or 0

I’m experimenting with creating a basic python based keyer but am not fluent enough in python just yet to figure out how to do this…

any help would be super helpful 😀

No Responses to “Phython keyer”

Post a Comment