Difference between revisions of "GFL Filters"
From XnView Wiki
(Created page with '== gflAverage == == gflSoften == == gflBlur == == gflGaussianBlur == == gflMaximum == == gflMinimum == == gflMedianBox == == gflMedianCross == == gflSharpen == == gflEnhanceDetai…') |
|||
Line 20: | Line 20: | ||
The gflConvolve function applies a convolution matrix on a picture. | The gflConvolve function applies a convolution matrix on a picture. | ||
GFL_ERROR <b>gflConvolve</b>( | |||
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 [[Structures#GFL_FILTER|GFL_FILTER]] structure. | |||
'''Return value''' | |||
:The function returns GFL_NO_ERROR if it is successful or a value of [[Error|GFL_ERROR]]. | |||
Return value | |||
The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR. |
Revision as of 15:18, 24 September 2009
gflAverage
gflSoften
gflBlur
gflGaussianBlur
gflMaximum
gflMinimum
gflMedianBox
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.