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!!
Please find the way below.
Also, attaching the workflow…
nmnithinkrishna_bitmapbgtransparent_uipath.zip (2.0 KB)
Hope this helps
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
hi, Is it possible to remove background color in image.
I tried but didn’t work for me.
It doesn’t work for my image
Is the background white here ?
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.
And will it have only some small text in it ?
yes. font can be large as well. But yes some text in it.
What I feel is may be we need to do OCR retrieve text and paste it in a white background something like that !
is it get OCR text activity you are referring to. some times it doesn’t read text properly as its hand written.