Closed JasonChoate closed 4 months ago
I apologize for the confusion. After further investigation, I realized that the issue was on my end and have corrected it.
Having PIL create an "RGBA" image instead of single-channel greyscale "L" worked.
I'm unsure if this is intended behavior. If it is, please consider closing this issue. Thank you.
If your issue isnt an issue anymore, please close it yourself! We don't have the capacity to follow up on potential non-issues; if it turns out to not be a non-issue, other users will still be able to find it via search, in any case.
Expected Behavior
Creating an image mask using PIL, assigning it to an ImageClip, then assigning that ImageClip as the mask to a VideoFileClip should result in the VideoFileClip having a mask applied, hiding the masked part of the VideoFileClip.
Actual Behavior
Creating an image mask using PIL, assigning it to an ImageClip, then assigning that ImageClip as the mask to a VideoFileClip does result in the VideoFileClip being correctly masked in regards to the transparency, but also inverts the colors of the unmasked part of the VideoFileClip.
Steps to Reproduce the Problem
Specifications