Assigning an ImageClip as the mask to a VideoFileClip inverts colors of unmasked area #2120
Labels
bug
Issues that report (apparent) bugs.
images
Related to ImageClip, or handling of images in general.
lib-PIL-Pillow
Issues pertaining to dependency PIL (or PIL fork Pillow).
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
The text was updated successfully, but these errors were encountered: