Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

ERROR: ColorConverter: size 2478080 is not a multiple of unit size 2464000

$
0
0

I am using camera for my processing file and I get this message on console:

ColorConverter: size 2478080 is not a multiple of unit size 2464000

Along with this message, the camera screen doesn't appear when I run the program. Only thing I see is a black screen.

I have no idea where this error comes from and how to fix this issue.

Here is my code just in case you need to know:

//scissors unmask

import processing.sound.*;
import processing.video.*;

SoundFile file;
Capture cam1;

boolean leftOn, topOn, cutHorizontal, cutVertical;

void setup() {

  size(1400, 880);
  //file = new SoundFile(this, "florian-reinke__flip1.wav");

  cam1=new Capture(this, width, height);
  cam1.start();
}

void draw() {

  if (cam1.available()) {
    cam1.read();
  }

    image(cam1, 0,0);
}

---the end----

If you have any idea about this issue, please let me know.

Thank you in advance for your help.


Viewing all articles
Browse latest Browse all 2896

Trending Articles