Hello Guillermo,
I suspect that you are using java.awt.Toolkit to read images.
Tooklit does not provide support for built in color profiles for JPEG.
Embedded profile is ignored and this will likely lead to color
discrepancies
you described.
I'd suggest to use ImageIO API to read images.
Hi Michele,
could you please provide test that illustrates your way to use the
ConvolveOp
from multiple threads?
It looks to me that crash is caused by combination of source and
destination images rather than concurrent usage of op instance.
However, some investigation seems to be required here
Hi Tomas,
I think I am able to reproduce problem you observe (second
image does not appear after first mouse click).
However, it seems that problem here has no relation to the
image loading, but rather is related to components layout.
I've noticed that after construction, second instance
*java.awt.HeadlessException* .
Now when i run it in my webapp by instantiating the class
Test render= new Test ();
render.getComposite();
There is no constructor defined in my class Test.
Any help on this is appreciated
Thanks again.
Deepak
On 6/14/06, *Andrew Brygin* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED
e.printStackTrace();
}
After excuting the above progrm,
A new file c:\\anImage.gif is created but this file is empty?
I dont know where did I go wrong.
Any help is appreciated.
Thanks
Deepak
On 6/13/06, *Andrew Brygin* [EMAIL PROTECTED]
mailto:[EMAIL
Hi Deepak,
What version of jdk are you using?
ImageIO plugin for writing GIF images is available only starting
from jdk 6.0 b39.
If you are using older version please try latest jdk 6.0 beta.
Also note that GIF image format directly supports only images
with color palette. You are
WEB:
http://www.classx.it
- Original Message -
From: Andrew Brygin [EMAIL PROTECTED]
To: Michele Puccini [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, October 31, 2005 3:39 PM
Subject: Re: [JAVA2D
Hi Patrick,
could you please provide more information about preTransImg? In
particular what color model and raster are used?
If you just want to apply scale-only transfrom then you may try
something like:
BufferedImage postTransImg =
affineTransOp.createCompatibleDestImage(preTransImg, null);