Blur

The Blur blurs content the whole image or rectangular area in the active imagespace.

Blur [vRadius][, vX][, xY][, vWidth][, vHeight]

Parameters

vRadius
Optional. Specifies blur radius, pixels. Default value is 3.

vX
Optional. Specifies left coordinate of blur area on the imagespace. Default value is 0.

vY
Optional. Specifies top coordinate of blur area on the imagespace. Default value is 0.

vWidth
Optional. Specifies width of blur area on the imagespace. Default value is imagespace width.

vHeight
Optional. Specifies height of blur area on the imagespace. Default value is imagespace height.

Example

Set g = CreateObject("shotgraph.image")
file_name = "c:\files\image.jpg"
g.GetFileDimensions file_name,xsize,ysize
g.CreateImage xsize,ysize,256
g.ReadImage file_name,palette,0,0
g.Blur
g.JpegImage 95,0,"c:\newimage.gif"