blur |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | blur <pRadius>, <pOldImageDataVariable>, <pWidth>, <pHeight>, <pNewImageDataVariable>, [<pNewAlphaDataVariable>, <pFadeOut>, <pLeftFeather>, <pTopFeather>, <pRightFeather>, <pBottomFeather>]
|
Associations | blur |
Summary | Blur the imageData of an image by a given radius.
|
Introduced | 8.0 |
OS | ios, android, linux, mac, windows |
Platforms | mobile, desktop, server |
Parameters | Name | Type | Description |
---|
pRadius | | blur radius
|
pOldImageDataVariable | | name of variable containing image data
|
pWidth | | image width
|
pHeight | | image height
|
pNewImageDataVariable | | name of variable to output new image data to
|
pNewAlphaDataVariable | | optional name of variable to output alpha data to
|
pFadeOut | | number of pixels to alpha fade out. Default is 5.
|
pLeftFeather | | feather the left side. If not set it will be feathered
|
pTopFeather | | feather the top side. If not set it will be feathered
|
pRightFeather | | feather the right side. If not set it will be feathered
|
pBottomFeather | | feather the bottom side. If not set it will be feathered
|
|
Example | local theOriginalImageData,theNewImageData
put the imageData of image 1 into theOriginalImageData
blur 5,"theOriginalImageData",the width of image 1,the height of image 1,"theNewImageData"
set the imageData of image 2 to theNewImageData
|
Values | Name | Type | Description |
---|
return | | An error message
|
|
Description | Blur the imageData of an image by a given radius.
|
Tags | externals |