⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 Datamatrix二维码库和测试程序,运行于linux,仔细研究可以很容易转化成VC程序,有这就没必要化钱买个控件了,本人libdmtx-0.3版本转化过,的确可行,现在把找到该版本的libdmtx
💻
字号:
README for pydmtx version 0.6.0 - November 23, 2008-----------------------------------------------------------------pydmtx is a thin wrapper around libdmtx that reads and writesData Matrix barcodes as PIL Image objects. Dan Watson wrote theoriginal version of pydmtx in 2006, and allowed it to become anative part of the libdmtx package.1. libdmtx Installation-----------------------------------------------------------------libdmtx must be installed on your system before trying to installand run the Python wrapper. Refer to the INSTALL file in the mainlibdmtx directory for instructions on how to do this.2. pydmtx Installation-----------------------------------------------------------------After libdmtx is present, next install pydmtx by running thefollowing command as root:  $ python setup.py installOnce installed, you can verify it works by running as yourself:  $ python test.pyIf it throws an error like this:  ImportError: libdmtx.so.0: cannot open shared object filethis indicates it is not able to find the libdmtx library.There are a few ways to fix this. You can make a temporarylocal session fix:  $ export LD_LIBRARY_PATH=/usr/local/lib... or make a permanent fix that requires root privileges:  $ /sbin/ldconfig /usr/local/libAlternatively, you could edit /etc/ld.so.conf to include/usr/local/lib (which also requires root privileges).When it is working properly the test.py script should create animage named 'hello.png' in the current directory. The imageshould be a Data Matrix barcode that scans to "hello, world".3. Dependencies-----------------------------------------------------------------These packages are required to install and run pydmtx:  Python:  http://www.python.org  PIL:     http://www.pythonware.com/products/pilIf you are using an RPM-based system then you can test for thefollowing packages:  python  python-devel  python-imaging4. This Document-----------------------------------------------------------------This document is derived from the wiki page located at:  http://libdmtx.wiki.sourceforge.net/libdmtx+python+wrapperIf you find an error or have additional helpful information,please edit the wiki directly with your updates.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -