Skip to content
clpetersen edited this page Nov 5, 2014 · 1 revision

Convert a string to an image structure with a data matrix barcode.

Parameter Description
string String to encode as a data matrix barcode

Example:

> 
(let* ((fh (gdFileOpen "test.png" "w"))
       (gd (dmtx->gd "this is a test")))
  (gdImagePng gd fh)
  (gdImageDestroy gd)
  (gdFileClose fh))
>
Clone this wiki locally