GdPicture.NET Reference Guide
FxDiffuseMore Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : FxDiffuseMore Method
GdPicture image identifier.
Performs DiffuseMore effect on a GdPicture image or on an area of a GdPicture image defined by SetROI() method. It is the same as a Diffuse effect but to more of a degree.
Syntax
'Declaration
 
Public Function FxDiffuseMore( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus FxDiffuseMore( 
   int ImageID
)
public function FxDiffuseMore( 
    ImageID: Integer
): GdPictureStatus; 
public function FxDiffuseMore( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus FxDiffuseMore( 
   int ImageID
) 
public:
GdPictureStatus FxDiffuseMore( 
   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 DiffuseMore 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 DiffuseMore effect to your image.
    gdpictureImaging.FxDiffuseMore(imageID);
    gdpictureImaging.SaveAsJPEG(imageID, "image.jpg");
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
SetROI Method
ResetROI Method