Manage Images in .NET

Provided by Dan Haught, FMS Executive Vice President

This sample illustrates some key concepts when working with images in the GDI+ environment in .NET. The sample shows how to convert an image to grayscale, employ JPEG compression, and save images to a variety of file formats.

The sample is comprised of a Windows Form that includes both the logic and the user-interface.

Functionality includes:

  • Preview of the image
  • Supports saving to JPEG or BMP formats
  • Includes ability to compress JPEG files
  • Supports saving as color or grayscale

How to Use the Sample:

This sample is encapsulated in a Windows Form named frmExportPicture. To use it, simply include the form in your project and open the form either as a normal form or as a dialog. In the form's constructor, pass the bitmap object that you want to export.

For example:

Additional Resources



Thank you! Thank you! I just finished reading this document, which was part of a link in the recent Buzz newsletter. I have printed it for others to read, especially those skeptical on the powers of Access and its capabilities.

Darren D.

View all FMS products for Microsoft Access All Our Microsoft Access Products



Free Product Catalog from FMS