Skip to content
Python

fix for rgb alpha bug ?

DeepBeepMeepe97599635d0e
diff --git a/wgp.py b/wgp.py
index 6aa9736..141cee0 100644
--- a/wgp.py
+++ b/wgp.py
@@ -2150,7 +2150,7 @@ def convert_image(image):
from PIL import ImageOps
from typing import cast
-
+ image = image.convert('RGB')
return cast(Image, ImageOps.exif_transpose(image))
def get_resampled_video(video_in, start_frame, max_frames):