Border appears on Rotated barcode

I rotated interleaved barcode to 290, I am getting black line on 1 side(right side). When I remove the rotation code there is no black line. So it appears after rotation somehow black line is added to the barcode.

Hi Martin,


Thank you for contacting support. I tested your scenario against the latest version of Aspose.BarCode for .NET 6.0.0. I’m sorry to share with you that I could not notice a black line on the right side. In case it is still reproducible then please highlight through a screenshot. Please also share the exact source code you are executing on your side. We’ll take a closer look and guide you accordingly.

I think barcode is displayed on black background and as image is not covering full background some black background remain visible.

Please run this code.

Aspose.BarCode.BarCodeBuilder barCode;
barCode = new Aspose.BarCode.BarCodeBuilder();
barCode.CodeText = "123456789012345678";
barCode.SymbologyType = Aspose.BarCode.Symbology.Interleaved2of5;
barCode.Rotate(270F);
string path = System.Configuration.ConfigurationManager.AppSettings["FilePath"];
barCode.Save(path, ImageFormat.Bmp);

Hi Martin,


Thank you for these details. I managed to reproduce this black line on the right side. I have logged this problem under ticket id BARCODENET-33801 in our issue tracking system. Your request has also been linked to this issue and you will be notified as soon as it is fixed. We’re sorry for your inconvenience.

Hi Martin,

Thank you for being patient. We have a good news for you is BARCODENET-33801 has now been marked as resolved. If there is no issue in the QA phase, then its fix will be included in the next version of Aspose.BarCode for .NET 6.1.0. It is expected in the next couple of weeks. We will inform you via this forum thread as soon as the new release is published.

The issues you have found earlier (filed as BARCODENET-33801) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.