I have this feature to be implemented in my app. Image is received from a remote database,
the image has a blur filter with a shape that shows unblur part of the image.
This shape/ unblur mask is so other parts of the image can be seen by dragging it.
https://stackoverflow.com/questions/14780006/transparent-blurry-view-which-blurs-layout-underneath This gave me some idea but Renderscript is depreciated and few resources which cover render script are not working
What other libraries can be used to achieve this kind of task?
unblur shape mask
Related
Currently I am working on android application. that contains An SVG image.
I used this SVG animated library to draw svg paths with animation.
but it only draws half the image not the whole image. See this example screen shot.
Could anyone help with this problem?
Can I upload a picture (in a ImageView) and draw rectangles using the canvas in the same ImageView? all the examples I've seen so far used two. I wonder if you can use only one? if so, how?
If you are new to android.
Open android studio, .
File ->New->import Sample ,
search for image.
Choose basic render script, this will give you basics of image handling.
However for your usage, you can simply create a view with border and add imageview inside it.
I want to blur the specific part of image in android without using Render Script. I am using minSdkVersion 14. I want to make image blur dynamically like image processing apps do. Dynamically means there should be one movable view on top of image and inside that view, Image will be clear and other than that it should be blurred.
You should first blur the bitmap:
Android: fast bitmap blur?
Then you have to apply image masking to that bitmap by using transparent in the middle.
Masking(crop) image in frame
Then you should put this bitmap as drawale to your movable imageview.
I am working on image processing i have achieved color effect using ColorMatrix but i cant understand how to achieved one effect that is not on whole image but only around the image like i have attached image. Actually i m working on image editor app like : BeFunkey
Here original image and processed image i have attached. You can see in effect on second image that is only around the image black shadow. Please can anybody tell me how to do this. Thank you in advance.
You need to set RGB colors of you bitmaps. Have a look over android-image-filter
This demo will fulfill your requirements.
I want to crop a bitmap in polygon shape drawn above that bitmap. I'm using masking of bitmap to do this.
The operation succeeds well, unfortunately the resulted bitmap after masking has a white background in cropped area,as you can see in the image:
And my mask that is created runtime by dragging rectangle around image and creating a polygon shape on above the image is as below :
I want to remove this unwanted white background. Does any one has idea how could I do this.
Any clue or help about how can I do is greatly appreciated.
Thanks in advance.