Hello all,
I had an application that use some images whose total size is greater
than 30k. To avoid this problem I store the images on the server as .gif
files. I want my application to download them. I can do this, but in
order to avoid downloading the images each time the application executes
I want to store them in the scratch pad the first time the application
executes, and get the images from the scratch pad after the first
execution. The problem is, how to get the images from the scratch pad
after theyre stored?
Suppose I save 10 gifs on the scratch pad. I know the size of each gif,
so I can use this information to get each image, like this
MediaImage mi = MediaManager.getImage("scratchpad:///0;pos=5222");
But I am not sure of what is stored at mi. Only one image or all the
bytes after position 5222 ??? Because if only the image saved at
position 5222 is stored at mi, the problem is solved, but I am not sure
if things are done this wa or mi gets all the bytes in the scratch pad
after position 5222.
Received on Thu Mar 11 22:26:30 2004