API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBITMAPFX_SETSATURATION()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function scales the saturation of the image. The user can increase or decrease the saturation of the image. The saturation scaling factor can range from -255 to 255
Params
me
[in]:
Pointer to me Interface.
inImage
[in]:
Pointer to the input image. outImage[in/out]: Pointer to the output image
saturation
[in]:
saturation value ranging between -255 to 255
Interface
Prototype
  •     int IBitmapFX_SetSaturation
        (
          IBitmapFX * me,
          IBitmap* inImage,
          IBitmap* outImage,
          int32 saturation
        )
    
Return
  • Returns AEEError codes
    AEE_SUCCESS, if the function completed successfully EBADPARM, if the saturation factor is outside the specified range [-255..255]
Side Effect
  • None.
Comments
The size of the output image should be the same size as the input image The colorScheme of the output image needs to be set by the user.