B4A Library ImageEffects

This is a wrap for this github project.

ImageEffects
Author:
DonManfred (wrapper)
Version: 1
  • ImageFilters
    Fields:
    • COLOR_MAX As Int
    • COLOR_MIN As Int
    • FULL_CIRCLE_DEGREE As Double
    • HALF_CIRCLE_DEGREE As Double
    • PI As Double
    • RANGE As Double
    Methods:
    • Initialize (EventName As String)
    • IsInitialized As Boolean
    • applyBlackFilter (source As Bitmap) As Bitmap
    • applyBoostEffect (src As Bitmap, type As Int, percent As Float) As Bitmap
    • applyBrightnessEffect (src As Bitmap, value As Int) As Bitmap
    • applyColorFilterEffect (src As Bitmap, red As Double, green As Double, blue As Double) As Bitmap
    • applyContrastEffect (src As Bitmap, value As Double) As Bitmap
    • applyDecreaseColorDepthEffect (src As Bitmap, bitOffset As Int) As Bitmap
    • applyEmbossEffect (src As Bitmap) As Bitmap
    • applyEngraveEffect (src As Bitmap) As Bitmap
    • applyFleaEffect (source As Bitmap) As Bitmap
    • applyGammaEffect (src As Bitmap, red As Double, green As Double, blue As Double) As Bitmap
    • applyGaussianBlurEffect (src As Bitmap) As Bitmap
    • applyGreyscaleEffect (src As Bitmap) As Bitmap
    • applyHighlightEffect (src As Bitmap) As Bitmap
    • applyHueFilter (source As Bitmap, level As Int) As Bitmap
    • applyInvertEffect (src As Bitmap) As Bitmap
    • applyMeanRemovalEffect (src As Bitmap) As Bitmap
    • applyReflection (originalImage As Bitmap) As Bitmap
    • applyRoundCornerEffect (src As Bitmap, round As Float) As Bitmap
    • applySaturationFilter (source As Bitmap, level As Int) As Bitmap
    • applySepiaToningEffect (src As Bitmap, depth As Int, red As Double, green As Double, blue As Double) As Bitmap
    • applyShadingFilter (source As Bitmap, shadingColor As Int) As Bitmap
    • applySharpenEffect (src As Bitmap, weight As Double) As Bitmap
    • applySmoothEffect (src As Bitmap, value As Double) As Bitmap
    • applySnowEffect (source As Bitmap) As Bitmap
    • applyTintEffect (src As Bitmap, degree As Int) As Bitmap
    • applyWaterMarkEffect (src As Bitmap, watermark As String, x As Int, y As Int, color As Int, alpha As Int, size As Int, underline As Boolean) As Bitmap

Special thanx to @ilan for creating the Example-App
 

Attachments

  • imageeffectEx.zip
    87.7 KB · Views: 748
  • ImageEffectsV1.0.0.zip
    12.7 KB · Views: 725
Top