Actions

Difference between revisions of "GFL Filters"

From XnView Wiki

Line 132: Line 132:


== gflMedianBox ==
== gflMedianBox ==
The gflMedianBox function :
GFL_ERROR <b>gflMedianBox</b>(
  GFL_BITMAP* src, 
  GFL_BITMAP** dst, 
  GFL_INT32 filter_size
);
'''Parameters'''
:src
::Pointer to a GFL_BITMAP structure.
:dst
::Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
:filter_size
::To do.
'''Return value'''
:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]].
== gflMedianCross ==
== gflMedianCross ==
== gflSharpen ==
== gflSharpen ==

Revision as of 09:41, 9 October 2009

gflAverage

The gflAverage function :

GFL_ERROR gflAverage(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  GFL_INT32 filter_size
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
filter_size
To do.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

gflSoften

The gflSoften function :

GFL_ERROR gflSoften(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  GFL_INT32 percentage
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
percentage
To do.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

gflBlur

The gflBlur function :

GFL_ERROR gflBlur(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  GFL_INT32 percentage
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
percentage
To do.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

gflGaussianBlur

The gflGaussianBlur function :

GFL_ERROR gflGaussianBlur(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  GFL_INT32 filter_size
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
filter_size
To do.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

gflMaximum

The gflMaximum function :

GFL_ERROR gflMaximum(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  GFL_INT32 filter_size
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
filter_size
To do.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

gflMinimum

The gflMinimum function :

GFL_ERROR gflMinimum(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  GFL_INT32 filter_size
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
filter_size
To do.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

gflMedianBox

The gflMedianBox function :

GFL_ERROR gflMedianBox(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  GFL_INT32 filter_size
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
filter_size
To do.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

gflMedianCross

gflSharpen

gflEnhanceDetail

gflEnhanceFocus

gflFocusRestoration

gflEdgeDetectLight

gflEdgeDetectMedium

gflEdgeDetectHeavy

gflEmboss

gflEmbossMore

gflConvolve

The gflConvolve function applies a convolution matrix on a picture.

GFL_ERROR gflConvolve(
  GFL_BITMAP* src,  
  GFL_BITMAP** dst,  
  const GFL_FILTER* filter
);

Parameters

src
Pointer to a GFL_BITMAP structure.
dst
Address of a pointer to a GFL_BITMAP structure. NULL if on the same instance.
filter
Pointer to a GFL_FILTER structure.

Return value

The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.