We’re pleased to announce full support for the Apple M1 Chip in our Linux/OSX/iOS/Android version of the barcode reader SDK. We will continue to support Intel builds for OSX for the time being.
Here’s an example of how PDF files could be handled on Docker using Ghostscript, though the same idea could be adopted for any third party conversion tool. Note that this is using SoftekBarcodeNetStandard from NuGet. 1. Add the following to Dockerfile to install Ghostscript RUN apt-get update && apt-get install -y ghostscript 2. Use code
The Softek Barcode Reader Toolkit can now be used with Docker and .Net with multi-platform support in a single NuGet package. Key facts: .Net Standard 2.0 Includes native DLL files for OSX, Windows (x86 & x64) and Linux (x86 & x64). Automatically selects correct native DLL at run-time (see below). Reads barcodes from TIF or
You can read a barcode from a stream (TIF/JPG or PDF) in C# using the following function to convert the stream into a byte array: private static byte[] StreamToByteArray(Stream input) { byte[] buffer = new byte[16 * 1024]; using (MemoryStream ms = new MemoryStream()) { int read; while ((read = input.Read(buffer, 0, buffer.Length)) > 0)
We’re pleased to announce that the Softek Barcode Reader Toolkit for Windows is now available on NuGet – the package manager for .Net at the following URL: https://www.nuget.org/packages/SoftekBarcodeNet/
The Android version of the SDK cannot read directly from image files but it can read from a bitmap using code similar to the following: Barcode barcode = new Barcode(); // Load your image file into a bitmap int width = bitmap.getWidth(); int height = bitmap.getHeight(); byte[] rawBytes = new byte[width * height * 4];
We’ve had a number of emails about the 2DDOC barcode type being used in French Covid “passports”. The Softek Barcode Reader Toolkit is able to read the data in the barcodes because it is stored using plain text in a DataMatrix symbology, however we do not support the actual verification of the digital signature for
Softek Barcode Reader SDK for Linux Version 9.1.1.1 has been released. The main change in this version is the addition of functions to read from TIF, and JPEG files held in memory rather than as files on disc. The new function is called mtScanBarCodeFromString. The C interface has also been brought in line with the
Softek Barcode Reader SDK for Windows Version 9.1.1.1 has been released. The main change in this version is the addition of functions to read from TIF, PDF, JPEG,GIF or PNG files held in memory rather than as files on disc. The new functions are called ScanBarCodeFromString for the DLL or ScanBarCodeFromByteArray for the .Net interface.
Here is the command line to convert an Adobe PDF document to TIF on Linux, in a suitable format to be used as input for the Linux version of the Softek Barcode Reader Toolkit: For color documents: gs -dNOPAUSE -r300 -sDEVICE=tiffscaled24 -sCompression=lzw -dBATCH -sOutputFile=output.tif input.pdf For black and white: gs -dNOPAUSE -r300 -sDEVICE=tiffg4 -sCompression=lzw -dBATCH