Resize and image -> cropping

Hi, I’m trying to resize a video before displaying it.
The original video is 100x200px.
Screen Shot 2022-08-06 at 3.14.15 PM

If I resize to 100x100px it crops the top part, looks good.
Screen Shot 2022-08-06 at 3.14.03 PM

If I resize to 50x100px (50% proportionally for each dimension), it crops one part instead of resizing and it looks it’s doing some interlacing.
Screen Shot 2022-08-06 at 3.13.38 PM

Why is cropping instead of resizing, and what can this interlacing effect be due to?

That’s the code:

Movie movie;

void setup() {
  size(320, 640);
  movie = new Movie(this, "waves3.mp4");

void movieEvent(Movie m) {;
  m.resize(50, 100);

void draw() {
  movie.resize(50, 100);
  image(movie, 0, 0);

Hello @ishback,

See reference and syntax:


image(movie, 0, 0, width/2, height/2);

You can also do some pixel manipulation for other desired effects:

A search revealed this:

I did not explore further…