GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / FxRelief Method
GdPicture image identifier.
Example





In This Topic
FxRelief Method (GdPictureImaging)
In This Topic
Performs relief effect on a GdPicture image or on an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Function FxRelief( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus FxRelief( 
   int ImageID
)
public function FxRelief( 
    ImageID: Integer
): GdPictureStatus; 
public function FxRelief( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus FxRelief( 
   int ImageID
) 
public:
GdPictureStatus FxRelief( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method is used in the "Image Processing" Demo.
Example
Performing a relief 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 relief effect to your image.
    gdpictureImaging.FxRelief(imageID);
    gdpictureImaging.SaveAsJPEG(imageID, "image.jpg");
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also