Loading

Report as inappropriate

I get this error when I run the script:

Processing - 3D Topo test.tga
java.lang.IllegalArgumentException: Empty region!
at javax.imageio.ImageReader.computeRegions(ImageReader.java:2689)
at com.sun.imageio.plugins.wbmp.WBMPImageReader.read(WBMPImageReader.java:184)
at javax.imageio.ImageIO.read(ImageIO.java:1422)
at javax.imageio.ImageIO.read(ImageIO.java:1282)
at com.heightmap.Main.main(Main.java:49)

I don't know what it means. Your script and the tga file are in the same directory, this is the command I typed:
java -jar heightmap2stl.jar "3D Topo test.tga" 10 100