VFPX / FoxBarcodeQR

FoxBarcodeQR is a supplement of FoxBarcode class only for QR Code barcodes. This class is an alternative solution for all developers who requested QR Code support.
28 stars 23 forks source link

Add white margin #1

Open dkeza opened 6 years ago

dkeza commented 6 years ago

Is it possible to add white margin around generated QR Code?

Maybe is it possible to send margin to DLL function?

SetConfiguration(m.tnSize, m.tnType)

quicobarajas commented 5 years ago

Hi !!

I hace a question

how i can select QR color ?

can i change it's ?

by example: i need my generate QR code in orange color

waspoelc commented 4 years ago

I can only create QR Code up to 255 Characters. is there a possibility to have more fo example? V0;BOS01;Kassenbeleg-V1;Beleg^100.00_49.00_0.00_0.00_0.00^149.00:Bar;8;292;2020-03-23T15:26:40.000Z;2020-03-23T15:26:41.000Z;ecdsa-plain-SHA384;unixTime;GbBv+7y0G5yW86xwGeBlUFvZiobtlyBRpM1kUICk3rsBB+WZHcIAE9PSywKqOSdzeH0loX5+2J5vWrF7Tf6+pHfoRBDm4KhUMw4xAYahRIwzrB8VxWs9kvkT3KZClwWT;BBjWKw+dNo8e/tibAHmSd1Pa4BRWlBvKGT658BFrY2JyAhPwpQM9m3x6/GQ9MujRJF6+OGaeQfP+3lHXxByZtaox41QhPtgu9kaT37liX34fFaGguko1ctn4YGHWgM8Pug==

luismariag commented 4 years ago

In responses to the 3 comments above:

The new version released 2.0 supports:

I attach examples with the three new features

SET PROCEDURE TO LOCFILE("FoxBarcodeQR.prg") ADDITIVE

*--- Create FoxBarcodeQR object and QR Code barcode image
LOCAL loFbc, lcQRImage
m.loFbc = CREATEOBJECT("FoxBarcodeQR")

*-- New properties
m.loFbc.nBarColor = RGB(255,128,64) && Orange
m.loFbc.nMarginPixels = 10 && Margin around the qr code

*-- Long string of 360 characters
lcString = REPLICATE("Microsoft Visual FoxPro 9.0 - ", 12)

m.lcQRImage = loFbc.FullQRCodeImage(lcString, ,400, 0)

*-- Create form
LOCAL loForm AS FORM
m.loForm = CREATEOBJECT("Form")
WITH m.loForm
  .CAPTION = "FoxBarcodeQR 2.0"
  .WIDTH = 600
  .HEIGHT = 600
  .AUTOCENTER = .T.
  .ADDOBJECT("Image1", "Image")
  WITH .Image1
    .WIDTH = 600
    .HEIGHT = 600
    .STRETCH = 0
    .PICTURE = m.lcQRImage
    .TOP = 20
    .LEFT = 20
    .VISIBLE = .T.
  ENDWITH
  .SHOW(1)
ENDWITH

m.loForm = NULL
m.loFbc = NULL
dkeza commented 3 years ago

@luismariag To use QRCodeLib.dll, must I buy license from www.validacfd.com?

luismariag commented 3 years ago

Hi, Until version 1.01 of the library it was free to use. As of version 1.2b it is paid, and is the one that is as "DEMO" on the Validacfd website. The DLL file that comes with the FoxBarcodeQR download is version 1.01. regards

___Comunidad Visual FoxPro en Español http://comunidadvfp.blogspot.com http://comunidadvfp.blogspot.com

El jue, 17 de dic. de 2020 a la(s) 08:13, Darko Kezic ( notifications@github.com) escribió:

@luismariag https://github.com/luismariag To use QRCodeLib.dll, must I buy license from www.validacfd.com?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VFPX/FoxBarcodeQR/issues/1#issuecomment-747375185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGPTBMRK75ABVLLZ274B733SVHRT7ANCNFSM4FXTRH2A .