Images in applet
in
Integration and Hardware
•
3 years ago
Hello,
I have a couple of Processing projects that I have to burn on a DVD. Some of them include images.
As I convert the sketch in applets to show them in HTML files, most of the time the images don't appear. This is not stable - images are sometimes loaded, so they are in the correct folder and are of the correct size. Apparently, the error is trigged if I watch more than one webpage that contains images - the first one is ok, then the second won't load the picture.
I was using loadImage, so I switched to requestImage, but with no success.
I also tried to sign the applets, but the result is that images are not shown anymore at all.
What am I doing wrong? Any hints are really appreciated!
I have a couple of Processing projects that I have to burn on a DVD. Some of them include images.
As I convert the sketch in applets to show them in HTML files, most of the time the images don't appear. This is not stable - images are sometimes loaded, so they are in the correct folder and are of the correct size. Apparently, the error is trigged if I watch more than one webpage that contains images - the first one is ok, then the second won't load the picture.
I was using loadImage, so I switched to requestImage, but with no success.
I also tried to sign the applets, but the result is that images are not shown anymore at all.
What am I doing wrong? Any hints are really appreciated!
1