C# Class PurplePen.BitmapUtil

Afficher le fichier Open project: petergolde/PurplePen Class Usage Examples

Méthodes publiques

Méthode Description
SaveBitmap ( Bitmap bitmap, string fileName, ImageFormat imageFormat ) : void
SaveGif ( Bitmap bitmap, string fileName ) : void
SaveJpeg ( Bitmap bitmap, string fileName, int quality ) : void
SaveTIFF ( Bitmap bitmap, string fileName ) : void

Private Methods

Méthode Description
GetEncoder ( ImageFormat format ) : System.Drawing.Imaging.ImageCodecInfo

Method Details

SaveBitmap() public static méthode

public static SaveBitmap ( Bitmap bitmap, string fileName, ImageFormat imageFormat ) : void
bitmap System.Drawing.Bitmap
fileName string
imageFormat System.Drawing.Imaging.ImageFormat
Résultat void

SaveGif() public static méthode

public static SaveGif ( Bitmap bitmap, string fileName ) : void
bitmap System.Drawing.Bitmap
fileName string
Résultat void

SaveJpeg() public static méthode

public static SaveJpeg ( Bitmap bitmap, string fileName, int quality ) : void
bitmap System.Drawing.Bitmap
fileName string
quality int
Résultat void

SaveTIFF() public static méthode

public static SaveTIFF ( Bitmap bitmap, string fileName ) : void
bitmap System.Drawing.Bitmap
fileName string
Résultat void