T
tiewknvc9
Im stuck, and out of ideas....
Is there any way to specify NO COMPRESSION on a jpeg image?
I have a renderedImage object that contains no more than 2 colors call
them color A and color B. I would like to be able to access all the
pixels of color B and change them. However with the compression, some
of the colors in the jpeg do change to other colors (perhaps colors
C-Z).
I need to work with a Jpeg because I am using JMF to create a movie
file.
I thought that perhaps it was due to the quality of my jpeg... So I
tried this to increase the quality to the highest setting-
http://javaalmanac.com/egs/javax.imageio/JpegWrite.html
Still I have discolorations around color A, obviously from the jpeg
trying to blend the 2 colors. I want to stop the blending and stop the
compression! Just want a plain old school 2 color image.
sorry for the rant, please let me know if you have any ideas...
Is there any way to specify NO COMPRESSION on a jpeg image?
I have a renderedImage object that contains no more than 2 colors call
them color A and color B. I would like to be able to access all the
pixels of color B and change them. However with the compression, some
of the colors in the jpeg do change to other colors (perhaps colors
C-Z).
I need to work with a Jpeg because I am using JMF to create a movie
file.
I thought that perhaps it was due to the quality of my jpeg... So I
tried this to increase the quality to the highest setting-
http://javaalmanac.com/egs/javax.imageio/JpegWrite.html
Still I have discolorations around color A, obviously from the jpeg
trying to blend the 2 colors. I want to stop the blending and stop the
compression! Just want a plain old school 2 color image.
sorry for the rant, please let me know if you have any ideas...