Hi Dimitri

Thanks for the response. I will try and get some code ready for you to run a 
test against. I've already posted the trace=count results in one of the posts 
above - http://forums.java.net/jive/message.jspa?messageID=272579#272579

With regards to the "blur", whether I blur things or not, it doesn't make much 
of a difference in the rendering times (maybe a ms or two). Here's the code 
that does the blur effect:
[code]
public static BufferedImage getBlurredImage(BufferedImage buf) {
  float[] my_kernel = {0.1f, 0.1f, 0.1f,
                       0.1f, 0.2f, 0.1f,
                       0.1f, 0.1f, 0.1f};
  ConvolveOp op = new ConvolveOp(new Kernel(3, 3, my_kernel));
  return op.filter(buf, null);
}
[/code]

Just to be clear again, this blur effect code makes little/no difference to the 
render time... I've run the application many different ways, with disabling 
effects, etc. and I've reached the conclusion that the slowest part of the code 
is copying an JComponent to a BufferedImage (doesn't mater if this BI is 
Translucent, Bitmask, or Opaque).

Thanks,
Take care,
Nazmul.
[Message sent by forum member 'nazmulidris' (nazmulidris)]

http://forums.java.net/jive/thread.jspa?messageID=272633

===========================================================================
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".

Reply via email to