IndexedImageUtils.IndexedCrop Method

Moxiecode ImageManager

MCManager classes

IndexedImageUtils.IndexedCrop Method 

This method does a indexed crop of a bitmap and returns a new croped bitmap.

public static Bitmap IndexedCrop(
   string path,
   int tx,
   int ty,
   int width,
   int height
);

Parameters

path
File to crop.
tx
x pos.
ty
y pos.
width
width.
height
height.

Return Value

Net croped bitmap.

See Also

IndexedImageUtils Class | Moxiecode.ImageManager.Utils Namespace