Terms of Service | Privacy Policy | Cookie Policy

Skip to content
Commits on Source (2)
......@@ -102,7 +102,7 @@ public class BarcodeWriter implements Consumer<RandomIdent> {
encodingParameters.put(EncodeHintType.CHARACTER_SET, "utf-8");
setErrorCorrection(encodingParameters);
BitMatrix matrix = codeWriter.encode(codeUrl, codeType.getFormat(), codeConfig.getWidth(),
codeConfig.getHeight());
codeConfig.getHeight(), encodingParameters);
MatrixToImageWriter.writeToStream(matrix, codeConfig.getFiletype(), os);
} catch (IOException | WriterException exc) {
logger.log(Level.WARNING,
......