条形码图像问题 [英] Problem with barcode image

查看:121
本文介绍了条形码图像问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何扩展条形码图像的宽度?我发现,如果在位图图像的宽度上添加1 px,它将变得无用(我的意思是我的条形码读取器无法读取它).请告诉我条形码图像的高宽比...

提前非常感谢....

Hi All,

How can we expand the width of a barcode image ? I found that if I add 1 px to the width of the bitmap image it will become useless (I mean it can''t read by my barcode reader). Please tell me the height and width ratio of barcode image...

Thanks a lot in advance....

推荐答案

这不是高度/宽度"的事情:条形码基于四个条形尺寸的相对宽度-同样适用于亮色条组和暗色条组.对条形码图像的任何调整几乎肯定会降低其可读性,并很有可能使其变得不可读.

在源处扩展图像的宽度-即,在生成图像时,请勿尝试在创建后更改它们.
It isn''t a height/width thing: barcodes are based on the relative widths of the four bar sizes - which applies equally to the light bar set and the dark bar set. Any tweaking of an image of a barcode will almost certainly reduce the readability, and quite likely render it unreadable.

Expand the width of the image at source - i.e. when you generate it, do not attempt to change them once created.


这篇关于条形码图像问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆