Page 1 of 1

GDPicture with VBScript - BarcodeDataMatrixWrite on bitonal

Posted: Wed Apr 24, 2013 12:09 pm
by baldur
Hello!

First ..., sorry about my bad english ...

Next, ... I try to stamp a datamatrix on a tif g4 (singlepage) but it's not possible to find the referenz to color.black/colour.white :?
So I try ARGB_2 and get the error 0x80131509 :(

The call i use is:

Code: Select all

m_OImg.BarcodeDataMatrixWrite m_iImgID, argData, 0, 0, 4, 4, 10, 10, 0, m_OImg.ARGB_2(255,255,0), m_OImg.ARGB_2(0,255,0)
My target is to write the datamatrix in the left corner of my tif with white as background ... . What sould I use instead of ARGB_2?

Can anybody help?

Kind reguards from vienna
Baldur

Re: GDPicture with VBScript - BarcodeDataMatrixWrite on bito

Posted: Wed May 01, 2013 8:07 pm
by Loïc
Hello Baladur,

Just replace:

OImg.ARGB_2(255,255,0)

by

OImg.ARGBI(255, 255,255,0)

More info on this topic: viewtopic.php?t=3757

Let me know if you have any doubt or remaining question.

Kind regards,

Loïc