I have been asking various questions in the last few days.
We apologize for the inconvenience.
Is it possible to change the thickness of cells and lines with a QR code or barcode?
When printed, it may be thicker than the original data, so it is often adjusted by the cell size and line thickness.
Is it possible with Aspose.Barcode?
For barcodes, does the content of this document correspond to that?
I will attach a sample image.
For QR, I don’t know unless I enlarge it, but since each cell is not the perfect size, it is a little small, so you can see that there is a space between cells.
@yuya,
You may try to use the following sample codes for controlling the cell size and thickness of lines using XDimension property. If it does not fulfill the requirement, share your desired output generated by some third-party tool along with the steps to generate it. We will observe the requirement here and share our feedback accordingly.
I tried it, but isn’t this something that changes the quiet zone, etc.?
For the time being, I will add only about QR,
As you can see in the attached image, the size of each cell is smaller.
I don’t think the cells are in contact with each other.
This is what I want to do.
I also attach the source that does this.
It seems that my colleague is creating the QR this way.
@yuya,
Could you please provide details about your environment? We have to log a ticket and need to know whether you need the solution in a .NET environment or C++ based solution is required.
I think you speak about BarWidthReduction which is used for ink printer fix (inks floating).
string filename = @"d:\save\rec\test.png";
var generator = new BarcodeGenerator(EncodeTypes.QR, "Some Text");
//resolution, currently 300 dpi
generator.Parameters.Resolution = 300;
//qr cell size, currently 1mm
generator.Parameters.Barcode.XDimension.Millimeters = 1f;
//generator.Parameters.Barcode.XDimension.Pixels = 10f;
//reduces black filling of the cells
//this is used mostly for ink printers
generator.Parameters.Barcode.BarWidthReduction.Millimeters = 0.2f;
generator.Save(filename, BarCodeImageFormat.Png);
@yuya,
We have further discussed your issue and observed that you want to control the printing so that no ink is spread while printing. If this is the case, you should try BarWidthReduction parameter as shared by @alexander.gavriluk above.
If it does not fulfill your requirement, could you please explain why exactly do you need this white space between the cells? Also, check if you are looking for QR art as given below. http://qrcodes.com.ua/wp-content/uploads/2012/08/QR-Code-Art-Aug24.jpg
I tried using BarWidthReduction.
I’d like to know the specifications of this, but if there are adjacent cells vertically and horizontally, do they mean that the cells are connected?gs1_qr_cmyk.pdf (485.7 KB)
Please have a look as I will attach the part I made.
In the case of the above specifications, is it not possible to connect diagonally adjacent objects? So there is white in the middle of the 2x2 square.
I tried using BarWidthReduction, but I couldn’t get the space between adjacent cells like your sample.
Is there any option other than BarWidthReduction?
The QR sample I made using BarWidthReduction is attached to the previous reply. please confirm.
Yes BarWidthReduction is created for ink printers to reduce inks floating. To avoid something like this: https://barcode-test.com/wp-content/uploads/2019/03/dm1.jpg
What do you want is called QR Art and currently is not realized in our library. http://qrcode.meetheed.com/qrcode_art.php
I also checked with the printing department.
There seems to be no problem with this output. When actually printing, unlike my sample above, there was no noticeable blank space, and it seemed that I really wanted to make it smaller by a few millimeters.
QR art is not supported, isn’t it? OK.
I apologize for the inconvenience because I only understood how to do it like QR art.
BarWidthReduction seems to be enough.