Hi fellow users,
Image Processing (for Bitmaps)
Target devices: 4.4 Kitkat (API 19) or higher
1.00 - 21/11/2014 - First release
1.01 - 22/11/2014 - Added Resize, Rotate, Flip
1.02 - 22/11/2014 - Much faster Sharpen and Blur routines
1.03 - 23/11/2014 - Added Exposure, BlackWhite, Copy, and Save. Fixed Invert
All functions now respect B4A Bitmap wrapper
1.04 - 01/12/2014 - Added Blend function (with 17 blend modes available)
1.05 - 06/12/2014 - Added ColorMatrixFilter and ReplaceColor
1.06 - 13/12/2014 - Added GetAlpha, GetRed, GetGreen, GetBlue, SetAlpha, SetRed, SetGreen, SetBlue,
HSVToColor, ColorToHSV.
Fixed Crop to use same config as its source bitmap.
I have written a very small Image Processing library with a basic set of core features for adjusting bitmaps. All operations are generally quick.
Each function takes an existing bitmap, runs the operation, then returns a new adjusted bitmap.
The attached contains examples allowing you to play with all of the operations available.
You will find the library in the Additional Libs folder of the zip.
***DOCUMENTATON IS ONLINE HERE***
Image Processing (for Bitmaps)
Target devices: 4.4 Kitkat (API 19) or higher
1.00 - 21/11/2014 - First release
1.01 - 22/11/2014 - Added Resize, Rotate, Flip
1.02 - 22/11/2014 - Much faster Sharpen and Blur routines
1.03 - 23/11/2014 - Added Exposure, BlackWhite, Copy, and Save. Fixed Invert
All functions now respect B4A Bitmap wrapper
1.04 - 01/12/2014 - Added Blend function (with 17 blend modes available)
1.05 - 06/12/2014 - Added ColorMatrixFilter and ReplaceColor
1.06 - 13/12/2014 - Added GetAlpha, GetRed, GetGreen, GetBlue, SetAlpha, SetRed, SetGreen, SetBlue,
HSVToColor, ColorToHSV.
Fixed Crop to use same config as its source bitmap.
I have written a very small Image Processing library with a basic set of core features for adjusting bitmaps. All operations are generally quick.
Each function takes an existing bitmap, runs the operation, then returns a new adjusted bitmap.
B4X:
Sub Globals
Dim IP As ImageProcessing
End Sub
bmp=IP.Contrast(SourceBitmap,0.7)
The attached contains examples allowing you to play with all of the operations available.
You will find the library in the Additional Libs folder of the zip.
***DOCUMENTATON IS ONLINE HERE***
Attachments
Last edited: