0

I want to make a pixelate image in moviepy, I have reference the following Doc:

And tried the following:

clip = ImageClip("source.jpg").resize(0.01).resize(100)

While it does make the video blur, it does not produce a pixelated image.

What I want to do is something like the below:

However, I want to prevent using imagemagick natively if possible. Would like to know if it is possible, thanks.

Ng Sek Long
  • 4,233
  • 2
  • 31
  • 38
  • 1
    Have a look at the source file (https://github.com/Zulko/moviepy/blob/master/moviepy/video/fx/resize.py) and see whether a different resizing method (interpolation etc) might help? – Tom Burrows Jan 19 '21 at 17:00
  • Thanks, big help pointing me to the code! Though at first glance I don't find any ways to make it work like i intended, let me continue research on the code, thanks! – Ng Sek Long Jan 20 '21 at 01:54

0 Answers0