IRONSOFTWAREHOME
Export AnyBitmap
using IronSoftware.Drawing;

//Export AnyBitmap files to other formats with ability to control loss
AnyBitmap bitmap = new AnyBitmap(@"FILE_PATH");
bitmap.ExportFile("losslogo.png", AnyBitmap.ImageFormat.Png, 100);


NuGet Download
PM > Install-Package IronSoftware.System.Drawing
Export AnyBitmap

Export AnyBitmap

AnyBitmap file generated from IronDrawing tool can be exported to other image formats with the ability to specify the degree of loss in the exported image. This enables users to balance the quality of the image needed with the size of the image file exported.

Exporting AnyBitmap Files

To export an AnyBitmap file into another image format, you simply need to load the AnyBitmap file and use the .ExportFile() method. This method has three overloads which allow you to set:

  1. Exported file name
  2. Image format
  3. Image quality loss

An exported image can be in one of the following formats:

  • Bmp: Bitmap Image File
  • Gif: Graphical Interchange Format
  • Png: Portable Network Graphics
  • Jpeg: Joint Photographic Experts Group
  • Tiff: Tagged Image File Format
  • Webp: Web Picture
  • Wbmp: Wireless Bitmap
  • Wmf: Windows Metafile
  • Icon: Icon File
View on GitHub

Ready to Get Started?

Nuget Downloads 19,661,086Version:2025.3just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required