Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. This site chose the Norton Secured Seal to promote trust online with consumers., Inc., Computers Hardware, Software & Services, Tampa, FL View your cart in the IDAutomation Store

Saving a Barcode Produces a Black Image

Saving the barcode image with the .NET Windows Forms Control with Picture.Save creates a completely black image.


Use Picture.SaveImageAs instead of Picture.Save.

For example, change:
barcode1.Picture.Save(@"..\..\img.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
barcode1.SaveImageAs(@"..\..\img.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);

Related Information:
 ©Copyright 2017, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.