arie willem
YaBB Newbies
Offline
Posts: 24
Re: playing slideshow while taking pictures
Reply #8 - Jun 9th , 2010, 2:34pm
What do you meen by:might need to reset with photos? It still does the same and the slide show script shows the following errors. I uploaded a screenshot. http://www.idablo.nl/werk/program.png The weird thing is that he does make a complete picture in the folder but in the slideshow programs it shows half of the image. And he does read (count) the number of images. Maybe the following error tells you something. java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] The file /Users/menno/Documents/Processing/taking_pics/faces2010-6-9 23.29.49.jpg contains bad image data, or may not be an image. java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] Premature end of JPEG file Premature end of JPEG file java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] Premature end of JPEG file java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] Premature end of JPEG file Exception in thread "Animation Thread" java.lang.NullPointerException at processing.core.PGraphics.image(PGraphics.java:2197) at processing.core.PApplet.image(PApplet.java:7286) at slideshow$Photo.display(slideshow.java:134) at slideshow.draw(slideshow.java:58) at processing.core.PApplet.handleDraw(PApplet.java:1425) at processing.core.PApplet.run(PApplet.java:1327) at java.lang.Thread.run(Thread.java:613) java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal] java.awt.Frame[frame0,197,72,320x262,title=taking_pics,normal]