I've just read that j2se 1.4 is suppose to fix this kind of problem because of the new pipeline architecture.  This old architecture generated strange behaviors when some type of properties was modified while rendering them.
 
For better explanations see document at http://java.sun.com/products/java-media/2D/perf_graphics.html

[Jérome Blouin] 
 
 -----Original Message-----
From: Discussion list for Java 2D API [mailto:[EMAIL PROTECTED]]On Behalf Of Auguste Genovesio
Sent: October 22, 2002 13:30
To: [EMAIL PROTECTED]
Subject: Re: [JAVA2D] drawImage and AffinTransform

I got this kind of problem as well !

I had to transform image before painting it and i
was surprised to see that when one change the picture or
while you change the transformation, the painting process
may be very slower and the color of a (gray) image is lighter....

(it has nothing to do with the complexity of the transform)

very strange no ?

anybody has an idea about that ?
 
 

Giorgos Vasiliou wrote:

Can anyone confirm this?

I cannot confirm this using JDK 1.3.1_04. On the contrary, I get worse results.

I am using:
new AffineTransform(new double[]{1,0,0,1})
for the identity and:
new AffineTransform(new double[]{0,1,1,0})
for the case you claim that it is drawn 10 times faster. Did I do something wrong?

If you are correct I will have to flip all my images to be drawn faster!

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

-- 
Auguste Genovesio
Ph.D student
Quantitative Image Analysis Group
Cell Biology Department
Institut Pasteur
25, rue du Docteur Roux
75724 Paris Cedex 15
 

Reply via email to