GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / FxEmboss Method / FxEmboss(Int32) Method
GdPicture image identifier.
Example





In This Topic
FxEmboss(Int32) Method
In This Topic
Performs emboss effect on a GdPicture image or on an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Overloads Function FxEmboss( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus FxEmboss( 
   int ImageID
)
public function FxEmboss( 
    ImageID: Integer
): GdPictureStatus; 
public function FxEmboss( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus FxEmboss( 
   int ImageID
) 
public:
GdPictureStatus FxEmboss( 
   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 an emboss 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 emboss effect to your image.
    gdpictureImaging.FxEmboss(imageID);
    gdpictureImaging.SaveAsJPEG(imageID, "image.jpg");
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also