Jihwan
(지환 이)
January 18, 2022, 9:03am
1
Hello
I am trying to change white color into transparent in an bitmap image.
I find out bitmap.MakeTransparent Method in .NET
But it doesn’t work like this
Assign [ BitmapImage = BitmapImage.MakeTransparent() ]
So would you please let me know
How I have to use MakeTransparent Method in Uipath
Thanks a lot!!
1 Like
Hey @Jihwan
Please find the way below.
Also, attaching the workflow…
nmnithinkrishna_bitmapbgtransparent_uipath.zip (2.0 KB)
Hope this helps
Thanks
#nK
1 Like
ppr
(Peter Preuss)
January 18, 2022, 9:40am
4
methods with no return values (sub - subroutine) cannot be used within an assign activity
we can use:
invoke method - sometimes also the reference got lost
invoke code
2 Likes
harji.5
(Harji 5)
May 6, 2022, 10:35am
6
hi, Is it possible to remove background color in image.
I tried but didn’t work for me.
1 Like
harji.5
(Harji 5)
May 6, 2022, 11:36am
8
It doesn’t work for my image
1 Like
Is the background white here ?
harji.5
(Harji 5)
May 6, 2022, 11:46am
14
Background is some other color (Pink or Brown) and can have shadow sometimes and lines .
Would like to remove all background from image and make it white or transparent.
1 Like
And will it have only some small text in it ?
Thanks
#nK
harji.5
(Harji 5)
May 6, 2022, 11:48am
16
yes. font can be large as well. But yes some text in it.
1 Like
Hey @harji.5
What I feel is may be we need to do OCR retrieve text and paste it in a white background something like that !
Thanks
#nK
harji.5
(Harji 5)
May 6, 2022, 11:52am
18
is it get OCR text activity you are referring to. some times it doesn’t read text properly as its hand written.