Hi all,
I download RSImageProcessing Library from RSImageProcessingFixed.zip and exact all and then paste xml file and jar file into B4A's Libraries. and use example from RSImageProcessing.zip as RSImageProcessing.b4a and addition some code (mnuScaleBMP) to test as attached file. It has error occurred. Please help me to correct them.
Hi all,
I download RSImageProcessing Library from RSImageProcessingFixed.zip and exact all and then paste xml file and jar file into B4A's Libraries. and use example from RSImageProcessing.zip as RSImageProcessing.b4a and addition some code (mnuScaleBMP) to test as attached file. It has error occurred. Please help me to correct them.
Contrast function converts color image to bw image
Hi
I tried to change the contrast of the bitmap using
B4X:
Sub Button_contrastplus_Click
bitmap2=ii.Contrast(bitmap2,10)
imageview1.bitmap = bitmap2
End Sub
Sub Button_contrastminus_Click
bitmap2=ii.Contrast(bitmap2,-10)
imageview1.bitmap = bitmap2
End Sub
but instead of changing contrast the whole bitmap changed to Grayscale image