I checked, and the slow part is not the image filter, but when create the
image from the resized
ImageProducer and wait for it.
//ok, fast enough!
src = image.getSource();
src = new FilteredImageSource(src, myImageFilter);
//slow!, wait for image
image = frame.createImage(src);
mt = new MediaTracker(this);
mt.addImage(bi, 0);
try {
mt.waitForAll();
} catch (InterruptedException ie) { }
so the question would be, is there any way to apply the Filter directly to
the image not creating
another?
regards
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".