Forum > Ported from Delphi/Kylix

ZXing

(1/3) > >>

DonAlfredo:
Just to inform you.
I have ported the ZXing library towards FPC and Lazarus.

https://github.com/LongDirtyAnimAlf/ZXing.Delphi

Included are working demo's for Windows and Lazarus.
https://github.com/LongDirtyAnimAlf/ZXing.Delphi/tree/v_3.0/Lazarus

Please note.
This library makes extended use of generics.
ZXing library and demo's have been tested with FPC trunk and Lazarus trunk only.

af0815:
Thx to DonAlfredo for his work.

I have done a try one year ago, but it was not successfull. So i know how much work it is, and how tricky some generic routines are programmed.

DonAlfredo:
You are welcome !

Porting was not that hard: the new Delphi compatible Generics made life much easier than before. Besides, the new source is still Delphi compatible !

I use this ZXing port for desktops together with an Android app that also scans qr-codes with the help of the native Java ZXing library.

All done with FPC and Lazarus and LAMW and Generics !!!

af0815:
I have seen you work with v4l2. Some Cameras are only working with gstreamer.

Have you experience with gstreamer too ? I have not found any ported header, nor a project in Lazarus/Freepascal using this library for video and shooting still pictures.

 

Xor-el:

--- Quote from: DonAlfredo on June 30, 2018, 11:18:07 am ---Just to inform you.
I have ported the ZXing library towards FPC and Lazarus.

https://github.com/LongDirtyAnimAlf/ZXing.Delphi

Included are working demo's for Windows and Lazarus.
https://github.com/LongDirtyAnimAlf/ZXing.Delphi/tree/v_3.0/Lazarus

Please note.
This library makes extended use of generics.
ZXing library and demo's have been tested with FPC trunk and Lazarus trunk only.

Edit:
Binaries for testing: https://github.com/LongDirtyAnimAlf/ZXing.Delphi/releases/tag/v3.5a

--- End quote ---

splendid, that's all I can say.
Good Job.
One Less Library to make FPC Compatible.  :D

Quick Question.
Is it possible for you to submit your changes as a pull request to the original repository.
it will make it less work to keep them in sync when the original repository makes an update.

Once again, well done and thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version