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

Developer

API Reference

IBITMAPFX_SETINTENSITY()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function scales the intensity of the input image. The user can increase or decrease the intensity of the image. The intensity 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
intensity
[in]:
intensity scaling factor ranging between -255 to 255
Interface
Prototype
  •     int IBitmapFX_SetIntensity
        (
          IBitmapFX * me,
          IBitmap* inImage,
          IBitmap* outImage,
          int32 intensity
        )
    
Return
  • Returns AEEError codes
    AEE_SUCCESS, if the function completed successfully EBADPARM, if the intensity scaling factor is out of the permitted range
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.