and I keep getting this error:
{"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. "}
now I tried to add the barcode type etc. but keep getting the same error.
below are some of the code I tried and not limited too
I must be doing something wrong.
code:
- Code: Select all
Spire.License.LicenseProvider.SetLicenseKey("Mylic.xml");
Bitmap bitmap = (Bitmap)Image.FromFile(@"C:\tmp\ExtractPage3.tif");
string[] data = Spire.Barcode.BarcodeScanner.Scan(bitmap);
I also tried :
- Code: Select all
Spire.License.LicenseProvider.SetLicenseKey("Mylic.xml");
string[] data = Spire.Barcode.BarcodeScanner.Scan(@"C:\tmp\ExtractPage3.tif");
and
- Code: Select all
Spire.License.LicenseProvider.SetLicenseKey("Mylic.xml");
string[] data = Spire.Barcode.BarcodeScanner.Scan(@"C:\tmp\ExtractPage3.tif",BarCodeType.Code39);
Thank you