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
Applying a diffuse effect on the image to a larger degree than that of FxDiffuse().
Dim oGdPictureImaging As New GdPictureImaging
Dim ImageID As Integer = oGdPictureImaging.CreateGdPictureImageFromFile("input.png")
If imageId <> 0 Then
   oGdPictureImaging.FxDiffuseMore(ImageID)
   oGdPictureImaging.SaveAsPNG(ImageID, "output.png")
   oGdPictureImaging.ReleaseGdPictureImage(ImageID)
Else
   MessageBox.Show("Error: " + oGdPictureImaging.GetStat().ToString())
End If
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
SetROI Method
ResetROI Method