Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Detects a barcode.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Barcode | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Image | The image to scan for a barcode. Can be container with image or an Image reference number from our GraphicsMagick image functions. |
$image | |
type | Which scanner to use. Supported types: Aztec, Codabar, Code39, Code93, Code128, DataMatrix, EAN8, EAN13, ITF, PDF417, QRCode, UPCA and UPCE. Pass All to scan for all types. | "QRCode" | |
ReturnType | A boolean to return the type as prefix. Pass 1 if you need prefix. Default is 0 for no prefix. | 1 | Optional |
TryRotation | A boolean value. If 1, the plugin will rotate the image 90° to find vertical barcode. Default is 0. | 0 | Optional |
Encoding | The text encoding for text parameter. Default is native. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
UTF8 | Optional |
Returns barcode content text or error.
Query a QRCode:
MBS( "Barcode.Detect"; Images::Image; "QRCode" )
Created 18th August 2014, last changed 20th June 2021
Backdrop.Install - Barcode.DrawBarcode
Feedback: Report problem or ask question.