C# Class DynamicImageHandler.ImageTool.FreeImage.FreeImageImageTool

The free image image tool.
Inheritance: DynamicImageHandler.ImageTools.NativeImageTool
Mostra file Open project: CaptiveAire/Dynamic-Image-Handler

Public Methods

Method Description
Encode ( Bitmap source, ImageFormat imageFormat ) : byte[]

The encode.

Private Methods

Method Description
ConvertToFreeImageFormat ( ImageFormat imageFormat ) : FREE_IMAGE_FORMAT

The convert to free image format.

ConvertToFreeImageSaveFlags ( ImageFormat imageFormat ) : FREE_IMAGE_SAVE_FLAGS

The convert to free image save flags.

Method Details

Encode() public method

The encode.
public Encode ( Bitmap source, ImageFormat imageFormat ) : byte[]
source Bitmap /// The source. ///
imageFormat ImageFormat /// The image format. ///
return byte[]