Hi,
I can only help with an advice, because i have never done it.
Maybe you could try to generate GIF's. In your case (black and white)
GIFs are better: smaller size and no secondary effects like grey pixels
in white areas.
Hope it helps,
Andras.
> Hi,
>
> I'm trying to generate a black and whit barcode graphic image in a
servlet.
> I'm using the com.sun.image.codec.jpeg.JPEGImageEncoder.
> This works fine but I get pretty good barcodes.
>
> However if I look very closely at the image there are a number of grey
> dots in areas that should be white.
>
> Should I be looking for another type of encoder?
> Any help with this would be really appreciated.
>
> regards
>
> Graham
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html