# ImageTranster Class Reference

Inherits from | NSObject
Declared in | ImageTranster.h ImageTranster.m

### `+ Imagedata:andType:`

Convert the picture to grayscale and then into printer format data

`+ (NSData *)Imagedata:(UIImage *)mImage andType:(BmpType)bmptype`

#### Parameters

`mImage` | The picture to be converted
`bmptype` | Image conversion algorithm type

#### Discussion

Convert the picture to grayscale and then into printer format data

#### Declared In

`ImageTranster.h`

### `+ rasterImagedata:andType:andPrintRasterType:`

Convert pictures to raster bitmap format

`+ (NSData *)rasterImagedata:(UIImage *)mIamge andType:(BmpType)bmptype andPrintRasterType:(PrintRasterType)type`

#### Parameters

`mIamge` | The picture to be converted
`bmptype` | Image conversion algorithm type
`type` | The type of picture print size

#### Discussion

Convert pictures to raster bitmap format

#### Declared In

`ImageTranster.h`