Commit 8ff1ba02 authored by Volker Krause's avatar Volker Krause
Browse files

Reduce the lower size threshold for 2D barcodes

Air France actually puts raster image Aztec codes in PDFs at he smallest
possible resolution (which makes perfect sense, just nobody else seems to
do that), which then is only a 27x27 pixel image.
parent 6ffe2cb3
Pipeline #137296 passed with stages
in 2 minutes and 34 seconds
......@@ -29,7 +29,7 @@ using namespace KItinerary;
enum {
// unit is pixels, assuming landscape orientation
MinSourceImageHeight = 10,
MinSourceImageWidth = 30,
MinSourceImageWidth = 26,
// OEBB uses 1044x1044 for its UIC 918.3 Aztec code
MaxSourceImageHeight = 1100, // TODO what's a realistic value here?
MaxSourceImageWidth = 2000
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment