Save image file help
in
Core Library Questions
•
2 years ago
I am having the "path must be absolute" problem with the PImage.save command despite trying every method I could find here in the forums.
// I declare a global variable
PImage faceTemp;
//in the setup I createImage
faceTemp = createImage(320, 240, RGB);
// I move the contents of the openCV buffer into the image, set a path, and attempt to save it.
faceTemp = opencv.image();
String path = savePath("face.jpg");
faceTemp.save(path);
is there something essential I am missing?
Chris
1