# class ImageDataUtil

#### package lime.graphics.utils

Available on all platforms

### Static methods

###

`staticcolorTransform (image:Image, rect:Rectangle, colorMatrix:ColorMatrix):Void`

###

`staticcopyChannel (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, sourceChannel:ImageChannel, destChannel:ImageChannel):Void`

###

`staticcopyPixels (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, ?alphaImage:Image, ?alphaPoint:Vector2, mergeAlpha:Bool = false):Void`

###

`staticfillRect (image:Image, rect:Rectangle, color:Int, format:PixelFormat):Void`

###

`staticfloodFill (image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void`

###

`staticgaussianBlur (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, blurX:Float = 4, blurY:Float = 4, quality:Int = 1, strength:Float = 1):Image`

###

`staticgetColorBoundsRect (image:Image, mask:Int, color:Int, findColor:Bool, format:PixelFormat):Rectangle`

###

`staticgetPixel (image:Image, x:Int, y:Int, format:PixelFormat):Int`

###

`staticgetPixel32 (image:Image, x:Int, y:Int, format:PixelFormat):Int`

###

`staticgetPixels (image:Image, rect:Rectangle, format:PixelFormat):Bytes`

###

`staticmerge (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, redMultiplier:Int, greenMultiplier:Int, blueMultiplier:Int, alphaMultiplier:Int):Void`

###

`staticmultiplyAlpha (image:Image):Void`

###

`staticresize (image:Image, newWidth:Int, newHeight:Int):Void`

###

`staticresizeBuffer (image:Image, newWidth:Int, newHeight:Int):Void`

###

`staticsetFormat (image:Image, format:PixelFormat):Void`

###

`staticsetPixel (image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void`

###

`staticsetPixel32 (image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void`

###

`staticsetPixels (image:Image, rect:Rectangle, bytePointer:BytePointer, format:PixelFormat, endian:Endian):Void`

###

`staticthreshold (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, operation:String, threshold:Int, color:Int, mask:Int, copySource:Bool, format:PixelFormat):Int`

###

`staticunmultiplyAlpha (image:Image):Void`