Re: [JAVA2D] JPG profiles

2008-08-11 Thread Andrew Brygin
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.

Re: [JAVA2D] ImagingLib.convolveBI keeps crashing on 1.5.0_11

2007-05-14 Thread Andrew Brygin
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

Re: [JAVA2D] loading imageicons fails once and then works

2006-06-19 Thread Andrew Brygin
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

Re: [JAVA2D] java.awt.HeadlessException [JAVA2D] How to dump the a java2d image in file .

2006-06-15 Thread Andrew Brygin
*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

Re: [JAVA2D] How to dump the a java2d image in file .

2006-06-14 Thread Andrew Brygin
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

Re: [JAVA2D] How to dump the a java2d image in file .

2006-06-13 Thread Andrew Brygin
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

Re: [JAVA2D] convolveBI - EXCEPTION_ACCESS_VIOLATION

2005-10-31 Thread Andrew Brygin
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

Re: [JAVA2D] JVM death from AffineTransformOp

2005-04-14 Thread Andrew Brygin
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);