Spelt / ZXing.Delphi

ZXing Barcode Scanning object Pascal Library for Delphi VCL and Delphi Firemonkey
Apache License 2.0
473 stars 206 forks source link

Added support for VCL applications (no need for FMX.Graphics TBitmap) #38

Closed csm101 closed 8 years ago

csm101 commented 8 years ago

Wrote an alternative implementation of constructor TRGBLuminanceSource.CreateFromBitmap which uses VCL TBitmap instead of FMX TBitmap.

By setting the USE_VCL_BITMAP conditional define now ZXIng can be compiled to be "friendly" to vcl applications (will depend on VCL.Graphics instead of FMX.Graphics).

Added a small sample VCL application for it

Spelt commented 8 years ago

Nice! Lots of VCL users will be glad. I will update the readme.