W
William Rose
Hi,
I'm looking for ways to interrupt the loading of a large image from a
remote site. The simple way to load such an image is obviously to use
Toolkit getImage/createImage with a URL parameter. The less simple way
is to manage the download oneself and get a byte array, and pass that to
createImage.
Once that's done though (createImage( byte[] )), it seems there's no way
to prevent full decoding of the image. Does anyone know a way around
this? Because it seems that this can take a non-trivial amount of time
for a large image, so it would be nice to abort it if possible.
cheers,
Will
I'm looking for ways to interrupt the loading of a large image from a
remote site. The simple way to load such an image is obviously to use
Toolkit getImage/createImage with a URL parameter. The less simple way
is to manage the download oneself and get a byte array, and pass that to
createImage.
Once that's done though (createImage( byte[] )), it seems there's no way
to prevent full decoding of the image. Does anyone know a way around
this? Because it seems that this can take a non-trivial amount of time
for a large image, so it would be nice to abort it if possible.
cheers,
Will