We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey
I'm current sending live footage from a HD camera to processing. The image formats between processing and the c++ program are different. So the image/video that I'm sending is current in a RGBA image format (also can supports BGRA), so as I know in processing/Java only supports ARGB color format and RGB.
Here is the reading image code in processing.
public PImage GetImage() {
PImage img = parent.createImage(WIDTH, HEIGHT, parent.ARGB);
PApplet.arrayCopy(Nui_GetImage(), img.pixels);
img.updatePixels();
return img;
}
Is there a way to make a fast the conversion between RGBA to ARGB because the incoming video is in 1080p, or there is another Image library that supports RGBA format in processing or java.
Thomas
Answers
Perhaps something like this? %%-