Performs engrave effect on a GdPicture image or on an area of a GdPicture image defined by SetROI()
method.
'Declaration
Public Overloads Function FxEngrave( _
ByVal As Integer _
) As GdPictureStatus
Parameters
- ImageID
- GdPicture image identifier.
Return Value
A member of the GdPictureStatus enumeration.
Performing an engrave effect on a GdPicture image.
using (GdPictureImaging gdpictureImaging = new GdPictureImaging())
{
// LoadInMemory parameter is set to true in order to be able to update the input file.
int imageID = gdpictureImaging.CreateGdPictureImageFromFile("image.jpg", true);
// Apply the engrave effect to your image.
gdpictureImaging.FxEngrave(imageID);
gdpictureImaging.SaveAsJPEG(imageID, "image.jpg");
gdpictureImaging.ReleaseGdPictureImage(imageID);
}