Link Search Menu Expand Document

« return to view all profiles categories


For Zapier, Integromat and others plugins insert custom profiles into profiles field. For API calls please set value as string in profiles parameter as string.

Barcode Generator: change the redundancy level

To control the QR Code error correction level, please add the following string in the Custom Profiles parameter for PDF.co:

{ "Options.QRErrorCorrectionLevel": "Low" }

Applies To:

  • /barcode/generate

Valid error correction levels:

LevelDescription
Low[default] Lowest error correction level. (Approx. 7% of codewords can be restored).
MediumMedium error correction level. (Approx. 15% of codewords can be restored).
QuarterQuarter error correction level (Approx. 25% of codewords can be restored).
HighHighest error correction level (Approx. 30% of codewords can be restored).

By default all these 2d barcodes (pdf417, datamatrix, qr code) have built-in redundancy, so you can erase like 10% of the barcode and it will be decodable still. 1d barcodes (ean13) can not do this, they have checksum protection to verify if value is decoded OK or not, but not protection against damage

Barcode Generator: specifying bar height in generated barcode

Use following profile to control height of bar in resulting barcode image.

{ "BarHeight": 100 }

Applies To:

  • /barcode/generate

Barcode Generator: specifying bar width in generated barcode

Use following profile to control barcode width in resulting barcode image.

{ "NarrowBarWidth": 2 }

Applies To:

  • /barcode/generate

Barcode Generator: Hide barcode caption value

To produce the barcode without the addition of the text as shown under the barcode.

{ "DrawCaption": false }

Applies To:

  • /barcode/generate

Barcode Generator: increasing QR Code barcode redundacy option

QR Code barcodes are generated with default settings which allows some % of the surface to be damaged but allow to be decodable still. To control the QR Code error correction level, please add the following string in the Custom Profiles parameter of PDF.co Barcode Generator:

{ "Options.QRErrorCorrectionLevel": "Low" }

Applies To:

  • /barcode/generate

Valid error correction levels:

ValueDescription
Low[default] Lowest error correction level. (Approx. 7% of codewords can be restored).
MediumMedium error correction level. (Approx. 15% of codewords can be restored).
QuarterQuarter error correction level (Approx. 25% of codewords can be restored).
HighHighest error correction level (Approx. 30% of codewords can be restored).

« return to view all profiles categories