Re: Image/Barcode

From: Date: Sat, 23 Apr 2011 07:47:57 +0000
Subject: Re: Image/Barcode
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31076@lists.php.net to get a copy of this message
Hello Alejandro, > > > > but the image of this is difuse and is not clear...by changing > > > > the variable $string  by "000012122" for example, the result is > > > > good. The problem is then, that the numeric string to print was > > > > pass across the variable. Why I can not pass the numeric string > > > > across of a variable as $string?    > > I try working with this code in php: >   > $string=$_POST["name"]; > require_once 'Image/Barcode.php'; > Image_Barcode::draw($string, 'code128', 'png'); >   > where 'name' is a numeric string or group of numbers that I get from > other script of php  and his content is for example > '0021215485435463654654654' and will be different for each ocation. > This is my idea to generate dinamics codebars. Thanks one more time I tried your code with both > 000012122 and > 0021215485435463654654654 - the resulting images are both crisp and clear: http://tmp.cweiske.de/barcodetest-000012122.png http://tmp.cweiske.de/barcodetest-0021215485435463654654654.png I don't see any problems there. Could you post a screenshot of such a diffuse/unclear barcode? -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.general (#31076) next »