From f3f7832bb498f404243241a507bfcaa3c23e1697 Mon Sep 17 00:00:00 2001 From: karaage0703 Date: Sun, 29 Sep 2013 16:57:10 +0900 Subject: [PATCH] Fix Save file size --- HDRHolic.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HDRHolic.pde b/HDRHolic.pde index 09cad58..636aa8e 100644 --- a/HDRHolic.pde +++ b/HDRHolic.pde @@ -48,7 +48,7 @@ void setup(){ cp5 = new ControlP5(this); - controlWindow = cp5.addControlWindow("controlP5window", 100, 100, 360, 600) + controlWindow = cp5.addControlWindow("Tunewindow", 100, 100, 360, 600) .hideCoordinates() .setBackground(color(40)) ; @@ -185,7 +185,7 @@ public void controlEvent(ControlEvent theEvent) { if(theEvent.isFrom("Save Image")) { String imgPath = selectOutput(); - save(imgPath); + writeImg.save(imgPath); } if(theEvent.isFrom("Exit")) { -- 2.11.0