Re: krysalis-barcode: conversion from SVG to PNG
Jeremias Maerki <[email protected]> Thu, 23 Oct 2003 23:06:37 +0200
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <[email protected]> |
Ciao Alberto I've just compared the SVG output with the PNG output and don't see any differences. By the way, it can't be a conversion problem from SVG to PNG because the PNG bitmap are produced directly, not via SVG. It's different code that produces PNG. Of course, there could be a problem in the Java2D-CanvasProvider but it doesn't look to me like that is the problem. Would you please verify that it also doesn't work if you enable grayscale in the servlet (add: "&gray=true")? I have the slight suspicion that the PNG is inverted (black is white and white is black). I've seen that behaviour in some bitmap editors. I guess you probably switched off the human-readable parts and the quiet zone. Would you describe in a little more detail in what way the black bars differ? On 23.10.2003 19:20:20 Alberto Lirussi wrote: > I'm making some experiment with the Krysalis Barcode Servlet and the associated web application copiled from krysalis-barcode-20031001.tar.Z. I'm using code 128. > With SVG I have no problem recognizing the barcode with my Barcode scanner, even if the barcode images are very tiny. > I run into trouble when using PNG. > I tried with different bitmap resolution, Height and Module with, but the recognition of PNG images were not improved. > It seems to me that is a conversion problem from SVG to PNG. In fact the black bars differs between the two images. > > What can i do? Any advices? Jeremias Maerki ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/