createImage(width, height, RGB)
in
Programming Questions
•
2 years ago
I am modyfing an old program I found.
...
PImage offs; // Offscreen image
PGraphics grf; // Offscreen graph port
PGraphics grf; // Offscreen graph port
...
// Off screen bitmap image
offs = createImage(width, height, RGB); //<<<<----ERROR
grf = offs.loadPixels();
offs = createImage(width, height, RGB); //<<<<----ERROR
grf = offs.loadPixels();
...
But I get this error:
The method createImage(int,int) in the type Component is not applicable for the arguments (int,int,int)
Do you know the problem? Is it in these instructions or somewhere else? Thanks
1