- Jun 6, 2020
- 11,559
- 4,422
I use the GreyScale function provided in this post (by Erel) in my B4J application:
[H3]
BitmapCreatorEffects class includes all kinds of very simple to use image effects. The class is cross platform and compatible with B4J (v6.3+), B4A (v8.3+) and B4i (v5.0+). Example: 'Greyscale an image: Dim GreyImage As B4XBitmap = effects.GreyScale(ExistingBmp) 'Blur an image: Dim BlurImage As...
But I'd like to be able to also generate this type of 'blueprint' image effect:
Here is the GreyScale function code for quicker reference:
B4X:
I did see that if this conditional block:
If c < 127 Then c = 0 Else c = 255
is added after line #7, then a black & white image effect is rendered - yet too much image detail is then lost...
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]BitmapCreatorEffects class includes all kinds of very simple to use image effects. The class is cross platform and compatible with B4J (v6.3+), B4A (v8.3+) and B4i (v5.0+). Example: 'Greyscale an image: Dim GreyImage As B4XBitmap = effects.GreyScale(ExistingBmp) 'Blur an image: Dim BlurImage As...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
But I'd like to be able to also generate this type of 'blueprint' image effect:
برای دیدن تصاویر باید ثبت نام کنید
Here is the GreyScale function code for quicker reference:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
I did see that if this conditional block:
If c < 127 Then c = 0 Else c = 255
is added after line #7, then a black & white image effect is rendered - yet too much image detail is then lost...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید