Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners.  Click to Verify - This site chose VeriSign SSL for secure e-commerce and confidential communications. Click for a Business Review of, Inc., a Barcode Hardware, Software & Services in Tampa FLView 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 2015, 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.