Hi all,
As an alternative I tried saving as a tiff. But even that doesn't work. The simple code below just saves a black image.:
As an alternative I tried saving as a tiff. But even that doesn't work. The simple code below just saves a black image.:
- PImage img;
- PGraphics t;
- void setup(){
- size(500, 375);
- t = createGraphics(500, 375, JAVA2D);
- t.beginDraw();
- img = loadImage("15.jpg");
- image(img, 0, 0);
- t.endDraw();
- t.save("photo.tif");
- }
- void draw(){
- }