Boost (TypeAsInt, Percentage AsFloat) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: Type = 1 --> RED Type = 2 --> GREEN Type = 3 --> BLUE ImageView1.Bitmap=ip.Boost(LoadBitmap(File.Dirassets , "SomeFile.png" , Type , Percentage) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap , Type , Percentage)
Emboss (Factor AsInt, Offset AsInt) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Emboss(LoadBitmap(File.Dirassets , "SomeFile.png") Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap)
Engrave (Factor AsInt, Offset AsInt) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Engrave(LoadBitmap(File.Dirassets , "SomeFile.png") Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap)
FastBlur (radius AsInt) As android.graphics.Bitmap
FlipBitmap (TypeAsInt) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Type = 1 --> FLIP_VERTICAL Type = 2 --> FLIP_HORIZONTAL Example: ImageView1.Bitmap=ip.Flip(LoadBitmap(File.Dirassets , "SomeFile.png" , Type) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap , type)
GaussianBlur (BlurValue AsDouble) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.GaussianBlur(LoadBitmap(File.Dirassets , "SomeFile.png",BlurValue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap, BlurValue)
Gravity_BOTTOM AsInt
Gravity_CENTER AsInt
Gravity_TOP AsInt
ImageRotate (RotateDegree AsFloat) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Rotate(LoadBitmap(File.Dirassets , "SomeFile.png" , RotateDegree) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap ,RotateDegree)
InitializeBitmap (bmp As android.graphics.Bitmap)
Initialize the Object. Example: Dim ip as ICOSImageProcessing ip.Initialize("ip")
IsInitialized AsBoolean
LENGTH_LONG AsInt
LENGTH_SHORT AsInt
Mirror As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Mirror(LoadBitmap(File.Dirassets , "SomeFile.png")) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap)
MyToastBitmap (bmp As android.graphics.Bitmap, mGravity AsInt, mDuration AsInt)
Dim ip as ICOSImageProcessing Dim img As ImageView Example: Sub b1_Click ip.MyToastBitmap(LoadBitmap(LoadBitmap(File.Dirassets , "SomeFile.png") , mGravity, mDuration) End Sub
Dim ip as ICOSImageProcessing Dim img As ImageView - ( You can use any view " (ImageView is just an examples) ") Example:
Sub b1_Click ip.MyToastView(img, mGravity, Duration) End Sub
RoundCorner (RoundValue AsFloat) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.RoundCorner(LoadBitmap(File.Dirassets , "SomeFile.png" , RoundValue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap , RoundValue)
SepiaEffect (Depth AsInt, Red AsDouble, Green AsDouble, Blue AsDouble) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.SepiaEffect(LoadBitmap(File.Dirassets , "SomeFile.png" ,Depth , Red , Green , Blue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap ,Depth , Red , Green , Blue)
SetWalpaper (bmp As android.graphics.Bitmap)
Dim ip as ICOSImageProcessing Example: Sub b1_Click ip.setWalpaper(LoadBitmap(File.Dirassets , "SomeFile.png")) End Sub
Smooth (Factor AsInt, Offset AsInt) As android.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Smooth(LoadBitmap(File.Dirassets , "SomeFile.png" , SmoothValue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap ,SmoothValue)