Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
ibloom3
ibloom3's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
loadImage for TIF and TGA seem to be broken...
[3 Replies]
21-Nov-2011 10:37 AM
Forum:
Programming Questions
I'm just test loading some images using the LoadDisplayImage example code in Processing.
I'm finding if I modify the code to open a tiff file rather than a JPG I get the following error:
Error: Processing can only read its own TIFF files.
Exception in thread "Animation Thread" java.lang.NullPointerException
at processing.core.PGraphics.image(PGraphics.java:2778)
at processing.core.PApplet.image(PApplet.java:8651)
at LoadDisplayImage.draw(LoadDisplayImage.java:39)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
If I try to load a TGA I get:
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 2073600
at processing.core.PApplet.loadImageTGA(PApplet.java:4074)
at processing.core.PApplet.loadImage(PApplet.java:3700)
at processing.core.PApplet.loadImage(PApplet.java:3637)
at LoadDisplayImage.setup(LoadDisplayImage.java:33)
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
I really want to open these uncompressed images, am I doing something wrong?
Ibloom
«Prev
Next »
Moderate user : ibloom3
Forum