T
tiewknvc9
hi!
im writing a program that (first) creates a standard colored background
with some text drawn in front of it (with drawstring) -- all in a
graphics2D object.
Then I save the bufferedImage of the graphics2D object to the disk as a
jpeg.
I cannot see the graphics2D object that is being created, I only see
the output.
However the outputted jpeg, (which again is a VERY simple graphic
containing text and a background), appears to be pixellated all around
the text. What I mean is that there is a discoloration. Some pixels
around the text appear in variously similar colors to the background.
unfortunately I require a perfected image that has no discoloration.
any ideas?
im writing a program that (first) creates a standard colored background
with some text drawn in front of it (with drawstring) -- all in a
graphics2D object.
Then I save the bufferedImage of the graphics2D object to the disk as a
jpeg.
I cannot see the graphics2D object that is being created, I only see
the output.
However the outputted jpeg, (which again is a VERY simple graphic
containing text and a background), appears to be pixellated all around
the text. What I mean is that there is a discoloration. Some pixels
around the text appear in variously similar colors to the background.
unfortunately I require a perfected image that has no discoloration.
any ideas?