Re: [JAVA2D] Smooth Gradients

2006-06-25 Thread Niclas Hedhman
I am not very good with Java2D, but the color problem described is mostly due to incorrect LCD representation of sRGB color space on the device. Nevertheless, manual visual smoothing of this could probably also be done by changing the individual colors independently on each row. If there is a

Re: [JAVA2D] Java 2d performance

2005-10-24 Thread Niclas Hedhman
On Monday 24 October 2005 02:58, Bira Neto wrote: I am developing a game using java2d. I had a GEForce4 MX 440, and I was getting about 40 fps. A few days ago I update to a GEForce 6600, and even if I was thinking I would get a major fps increase it droped to abou 30fps. Any ideas why it

[JAVA2D] Back to my Image I/O problems.

2005-02-01 Thread Niclas Hedhman
: Unable to find a ImageWriter: png at ImageTest.main(ImageTest.java:30) Anyone who have some in-depth knowledge give me a clue what is happening. Cheers and TIA Niclas Hedhman System used; Linux 2.6.8-1-686 JDK 1.4.2_06, Hotspot Client jai_imageio-1_0_01-lib-linux-i586-jdk.bin

[JAVA2D] Unable to convert 32bpp TIFFs to PNG.

2004-12-07 Thread Niclas Hedhman
Hi, I have a small image processing servlet, that does; m_Format = png in this case. private void write( BufferedImage image ) throws ProcessingException, IOException { ImageTypeSpecifier its = ImageTypeSpecifier.createFromRenderedImage( image ); Iterator writers

Re: [JAVA2D] Unable to convert 32bpp TIFFs to PNG.

2004-12-07 Thread Niclas Hedhman
On Tuesday 07 December 2004 19:38, Niclas Hedhman wrote: The effectsStack is basically a set of ImageOp's, mostly used is the Scale. Disregard this sentence, it was part of a much larger code block which included the entire sequence. Thanks Niclas -- +--//---+ / http

Re: [JAVA2D] Unable to convert 32bpp TIFFs to PNG.

2004-12-07 Thread Niclas Hedhman
On Wednesday 08 December 2004 02:34, Brian Burkhalter wrote: That should work. Could you give some more detail about the details of the SampleModel and ColorModel in the ImageTypeSpecifier, e.g., number of bands, bits per sample, alpha presence, alpha type. Not *that* easily. It has been