亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? libdmtx.3

?? Linux系統下,二維碼生成源代碼.希望對大家有所幫助.
?? 3
字號:
.\" $Id: libdmtx.3,v 1.4 2006/10/15 22:08:14 mblaughton Exp $.\".\" Man page for the libdmtx project..\".\" $ groff -man -T ascii libdmtx.3.\".TH LIBDMTX 3 "October 15, 2006".SH NAMElibdmtx \- Data Matrix Encoder/Decoder Library 0.3.0.SH SYNOPSIS\fB#include <dmtx.h>\fP\fBDmtxEncode *dmtxEncodeCreate(\fIvoid\fP);\fP\fBvoid dmtxEncodeDestroy(DmtxEncode **\fIencode\fP);\fP\fBint dmtxEncodeData(DmtxEncode *\fIencode\fP, unsigned char *\fIinputString\fP);\fP\fBDmtxDecode *dmtxDecodeStructCreate(\fIvoid\fP);\fP\fBvoid dmtxDecodeStructDestroy(DmtxDecode **\fIdecode\fP);\fP\fBint dmtxImageInit(DmtxImage *\fIimage\fP);\fP\fBint dmtxImageDeInit(DmtxImage *\fIimage\fP);\fP\fBvoid dmtxScanStartNew(DmtxDecode *\fIdecode\fP);\fP\fBvoid dmtxScanLine(DmtxDecode *\fIdecode\fP, int \fIline\fP, DmtxDirection \fIdirection\fP);\fP\fBint dmtxDecodeGetMatrixCount(DmtxDecode *\fIdecode\fP);\fP\fBDmtxMatrixRegion *dmtxDecodeGetMatrix(DmtxDecode *\fIdecode\fP, int \fIindex\fP);\fP.SH DESCRIPTION\fIlibdmtx\fP is a shared library for Linux that encodes and decodes ECC200 Data Matrix barcodes.  Data Matrix barcodes are two-dimensional patterns that hold a high density of data with built-in error correction.  The Data Matrix symbology was invented and released into the public domain by RVSI Acuity CiMatrix..SH ENCODING - Generating Data Matrix Barcodes\fIlibdmtx\fP provides a simple set of functions for the encoding process.  More functions will be added later to support other options, such as output format (ASCII, PNG, PNM, etc...) and others.Currently, the following steps are required to create a Data Matrix barcode using \fIlibdmtx\fP:1. Call \fBdmtxEncodeCreate()\fPThis function allocates memory for the encoding process and initializes its internal values.  This function must be called before any other encoding functions.2. Call \fBdmtxEncodeData()\fP\fBdmtxEncodeData()\fP creates one barcode for each call, and currently writes a PNM image file of the barcode to the current directory.  This is an ugly temporary hack.  Later there will probably be another function after this where you specify what you want done with the barcode image (e.g. Write to STDOUT?  Write to a PNG file?  Keep it in memory? etc...)3. Call \fBdmtxEncodeDestroy()\fPThis function frees the memory allocated in the \fBdmtxEncodeCreate()\fP and \fBdmtxEncodeData()\fP functions..SH DECODING - Reading Data Matrix Barcodes\fIlibdmtx\fP provides small number of default decoding functions, and provides additional flexibility through parameters and callback functions.1. Call \fBdmtxDecodeStructCreate()\fPCreates the \fIlibdmtx\fP information struct.  This struct contains user decoding information and runtime options.  \fBdmtxDecodeStructCreate()\fP must be called before any other scanning functions.2. Call \fBdmtxImageInit()\fPInitializes an image structure for the calling program to use.  \fIlibdmtx\fP provides its own image structure that must be populated with the raw image information by the calling program before beginning the scan.  An initialized and populated image is required for any scanning activities.3. Call \fBdmtxScanStartNew()\fPResets the counters and lists before a new scan begins.  This is necessary because libdmtx might find multiple Data Matrix barcodes in an image, and therefore maintains a list of barcode regions.  This function clears the lists between reads so the program doesn't exhaust the system memory with already-scanned barcode regions.4. Call \fBdmtxScanLine()\fPPerforms the actual scan of a row or column (1 pixel wide) from the source image.  It returns number of Data Matrix barcodes that were found, and stores the barcode information in a list from the decode struct.  Multiple calls to \fBdmtxScanLine()\fP can happen between \fBdmtxScanStartNew()\fP (for example, to make the familiar "cross pattern" like in the supermarket checkout lane).5. Call \fBdmtxDecodeGetMatrixCount()\fPReturns the number of Data Matrix barcodes that are currently stored in the DmtxDecode list.  If none were found, will return 0.6. Call \fBdmtxDecodeGetMatrix()\fPReturns a pointer to the DmtxMatrixRegion struct held by DmtxDecode.  Data Matrix information (geometries, encoded and decoded data) will be stored until next call to \fBdmtxScanStartNew()\fP or \fBdmtxDecodeStructDestroy()\fP.7. Call \fBdmtxImageDeInit()\fPResets and frees memory associated with DmtxImage struct.  This is the complement to \fBdmtxImageInit()\fP.8. Call \fBdmtxDecodeStructDestroy()\fPResets and frees memory associated with DmtxDecode struct.  This is the complement to \fBdmtxDecodeInit()\fP..SH EXAMPLE PROGRAMThis program demonstrates both directions of \fIlibdmtx\fP functionality by first creating a Data Matrix barcode with its encoding functionality and then reading it back with the decoding functionality.  If everything works correctly then the original input data should match the final output data.  #include <stdlib.h>  #include <stdio.h>  #include <string.h>  #include <unistd.h>  #include <dmtx.h>  int  main(int argc, char **argv)  {     int count = 0;     unsigned char testString[] = "30Q324343430794<OQQ";     DmtxImage image;     DmtxEncode *encode;     DmtxDecode *decode;     /*      * 1) Write a new Data Matrix barcode (in memory)      */     encode = dmtxEncodeCreate();     dmtxEncodeData(encode, testString);     // Take copy of new image before freeing DmtxEncode struct     image = encode->image;     image.pxl = (DmtxPixel *)malloc(image.width * image.height *           sizeof(DmtxPixel));     if(image.pxl == NULL) {        perror("Malloc error");        exit(1);     }     memcpy(image.pxl, encode->image.pxl, image.width * image.height *           sizeof(DmtxPixel));     dmtxEncodeDestroy(&encode);     /*      * 2) Read the Data Matrix barcode from above      */     decode = dmtxDecodeStructCreate();     decode->option = DmtxSingleScanOnly;     decode->image = image;     count += dmtxScanLine(decode, DmtxDirUp, decode->image.width/2);     count += dmtxScanLine(decode, DmtxDirRight, decode->image.height/2);     if(count > 0) {        fprintf(stdout, "output: \\"");        fwrite(decode->matrix[0].output, sizeof(unsigned char),              decode->matrix[0].outputIdx, stdout);        fprintf(stdout, "\\"\\n\\n");     }     dmtxDecodeStructDestroy(&decode);     exit(0);  }.SH "SEE ALSO"libpng(3).SH STANDARDSISO/IEC 16022:2000ANSI/AIM BC11 ISS.SH BUGSEmail bug reports to mike@dragonflylogic.com.SH AUTHORCopyright (C) 2006 Mike Laughton.\" end of man page

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码91久久久久久网站| 欧美电视剧免费观看| 国产成人在线免费观看| 青青草国产精品97视觉盛宴| 亚洲一区二区三区爽爽爽爽爽 | 久久精品国产网站| 五月综合激情婷婷六月色窝| 日韩精品欧美精品| 日韩av一区二区在线影视| 日韩av一区二| 韩国毛片一区二区三区| 加勒比av一区二区| 成人中文字幕电影| 色网站国产精品| 欧美日韩国产中文| 精品国产露脸精彩对白| 国产亚洲一区字幕| 一区二区三区色| 奇米色一区二区| 国产成人免费在线观看不卡| 97精品国产露脸对白| 欧美日韩在线播放三区四区| 日韩一二三区视频| 国产精品久久久久久久久免费相片| 中文字幕一区二区三| 亚洲一区视频在线| 国产剧情一区二区| 日本国产一区二区| 精品奇米国产一区二区三区| 国产免费观看久久| 午夜免费久久看| 成人午夜免费视频| 91精品国产91久久综合桃花| 日韩一级完整毛片| 亚洲毛片av在线| 精品一区二区三区在线观看| 91在线观看成人| 精品久久久久久久久久久久久久久久久 | 亚洲国产精品黑人久久久| 亚洲欧美激情在线| 五月天久久比比资源色| 国产精品一区二区你懂的| 欧美日韩在线亚洲一区蜜芽| 久久亚洲影视婷婷| 亚洲午夜电影在线观看| 国产sm精品调教视频网站| 欧美高清dvd| 亚洲天天做日日做天天谢日日欢| 免费av成人在线| 在线免费av一区| 亚洲欧洲无码一区二区三区| 久久精品久久精品| 欧美精品777| 亚洲男人的天堂在线aⅴ视频| 国内精品国产成人国产三级粉色| 精品视频在线看| 亚洲伦理在线精品| 粉嫩13p一区二区三区| 日韩一区二区三免费高清| 亚洲午夜久久久久久久久久久 | 日韩一区二区免费视频| 亚洲国产综合色| 91官网在线观看| 亚洲免费观看高清完整版在线 | 欧美精品丝袜中出| 一区二区三区不卡在线观看 | 国产精品自在欧美一区| 欧美大片拔萝卜| 三级久久三级久久久| 色综合激情久久| 亚洲欧美在线另类| 99在线精品视频| 中文字幕欧美一区| 99国产精品国产精品久久| 国产欧美视频一区二区| 国产传媒一区在线| 国产精品国模大尺度视频| 成人久久视频在线观看| 日本一区二区三区免费乱视频| 国产老肥熟一区二区三区| 亚洲精品一区二区精华| 国产精品香蕉一区二区三区| 国产人成一区二区三区影院| 国产成人在线视频播放| 国产精品久久午夜| 色噜噜狠狠色综合欧洲selulu| 亚洲视频一区在线观看| 欧美性色欧美a在线播放| 天天综合网 天天综合色| 欧美一二三四区在线| 韩国一区二区视频| 最新欧美精品一区二区三区| 色婷婷综合久久久久中文 | 欧美午夜精品一区| 亚洲国产成人高清精品| 日韩网站在线看片你懂的| 国产精品18久久久久久久久| **欧美大码日韩| 欧美日韩国产精选| 国产高清不卡二三区| 一区二区三区.www| 日韩一区二区精品| 成人av网站在线| 亚洲成人资源网| 久久久91精品国产一区二区精品| 粉嫩av一区二区三区粉嫩 | www国产成人免费观看视频 深夜成人网 | 欧美精品在线观看一区二区| 激情图片小说一区| 亚洲日穴在线视频| 日韩写真欧美这视频| aa级大片欧美| 蜜桃视频在线观看一区| 亚洲欧美精品午睡沙发| 欧美成人a视频| 欧洲精品一区二区三区在线观看| 久久精品国产999大香线蕉| 亚洲欧洲日韩一区二区三区| 日韩一区二区免费电影| 91福利精品第一导航| 国产成人自拍网| 蜜桃传媒麻豆第一区在线观看| 国产精品福利一区| 欧美成人aa大片| 欧美日韩高清在线| 99re这里只有精品首页| 国产福利一区二区三区视频在线| 日韩精品一二三| 亚洲乱码中文字幕综合| 国产精品美女久久久久久久 | 欧美三电影在线| 白白色 亚洲乱淫| 国产精品中文字幕日韩精品| 丝袜美腿亚洲色图| 樱桃国产成人精品视频| 亚洲国产精品精华液2区45| 精品久久久久久最新网址| 欧美精品一级二级三级| 欧美视频在线一区二区三区| 成人国产在线观看| 国产成人综合视频| 国产成人av自拍| 国产精品一区专区| 久99久精品视频免费观看| 天堂资源在线中文精品| 亚洲aaa精品| 亚洲影院在线观看| 亚洲一区二区三区四区五区黄| 亚洲欧洲日韩综合一区二区| 中文字幕在线不卡一区二区三区| 久久精品一区二区| 日本一区二区三区在线观看| 国产日韩欧美在线一区| 国产午夜精品一区二区三区嫩草| 久久丝袜美腿综合| 欧美经典一区二区三区| 中文字幕精品一区二区精品绿巨人 | 亚洲天堂成人网| 综合自拍亚洲综合图不卡区| 亚洲精品视频在线观看免费| 亚洲色图另类专区| 亚洲图片有声小说| 美国三级日本三级久久99| 麻豆国产一区二区| 国产高清亚洲一区| 91看片淫黄大片一级| 欧美在线999| 91精品欧美一区二区三区综合在| 日韩一区二区免费在线观看| 久久精品一区二区三区不卡牛牛| 国产精品毛片大码女人| 亚洲午夜成aⅴ人片| 麻豆精品视频在线| 成人动漫av在线| 欧美三级日本三级少妇99| 日韩精品一区二区三区中文精品| 国产午夜精品久久久久久久| 亚洲男同1069视频| 美女在线视频一区| 成人网页在线观看| 91黄色激情网站| 日韩欧美国产三级电影视频| 欧美国产日韩在线观看| 一区二区三区在线视频观看| 日本三级韩国三级欧美三级| 国产精品资源在线| 精品国产三级a在线观看| 亚洲自拍偷拍欧美| 亚洲黄色小说网站| 免费在线观看不卡| av不卡免费在线观看| 91麻豆精品久久久久蜜臀| www激情久久| 亚洲va天堂va国产va久| 国产成人精品亚洲777人妖| 欧美日韩日本视频| 国产精品三级av在线播放| 裸体在线国模精品偷拍| 色婷婷激情一区二区三区| 精品不卡在线视频|