blur

Blur on touch. Android application

丶灬走出姿态 提交于 2019-12-18 06:49:40
问题 I am trying to make an application in which the part of the image user touched on the android app gets blurred. Requirement is like, I should be able to take a snap and then slide over my finger over the points which I need to blur out. Is there any easy way for it. Can I somehow use transparent paint with opacity to accomplish it? Thanks 回答1: Seems the issue should be solved using RenderScript. However, seems that it supports only bitmap blur, so we might need to cut bitmap before blurring.

android programmatically blur imageview drawable

北慕城南 提交于 2019-12-17 17:59:06
问题 I want to programmatically blur and unblur images in Android. I hear that android flag "blur" is no longer supported after API 14 , but I wanted to use Java methods anyway. My main problem is manipulating the bitmap from an Imageview drawable. How would I get the bitmap from an imageview and manipulate it (will probably use gaussian blur) and set it back to the imageview? I think the process involves extracting the drawable, converting the drawable to a bitmap, doing my blur method on that

hide keyboard in iphone safari webapp

流过昼夜 提交于 2019-12-17 17:49:06
问题 I'm creating a webapp for the iPhone, based in HTML/CSS/JS. I'm using forms to receive input and pass data to the script, but a problem I'm encountering is that the keyboard won't disappear. The user will enter the information, hit submit, and since it's JavaScript the page doesn't reload. The keyboard remains in place, which is a nuisance and adds another step for users (having to close it). Is there any way to force the keyboard in Safari to go away? Essentially, I have a feeling this

CSS Blur in IE 11

时光总嘲笑我的痴心妄想 提交于 2019-12-17 09:50:09
问题 I have been trying to get A css blur effect in IE 11 for hours and did not make any progress. I tried to use the following simple html: <!DOCTYPE HTML> <html> <head> <style type="text/css"> .blur{ -ms-filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='50'); } </style> </head> <body> <img src='http://img3.wikia.nocookie.net/__cb20120627075127/kirby/en/images/0/01/KDCol_Kirby_K64.png' class="blur" /> </body> </html> I also tried just using the filter without the ms prefix. I saw that

Gaussian Blur onHover Using jQuery

Deadly 提交于 2019-12-17 09:43:13
问题 I am wondering if there is some way to apply a gaussian blur onto a div using jQuery (or CSS that jQuery can modify). I have looked into blur(), but at least with Safari, it doesn't seem that it accomplishes what I'm looking for. If possible, I want to use fadeIn on the effect, so it blurs gradually. Thanks for any help! 回答1: Be aware that Blur is when a DOM-element, such as textboxes (inputs etc.) loses focus, and should not be mixed with the kind of blur you are talking about (gaussian

Gaussian Blur onHover Using jQuery

不羁的心 提交于 2019-12-17 09:43:09
问题 I am wondering if there is some way to apply a gaussian blur onto a div using jQuery (or CSS that jQuery can modify). I have looked into blur(), but at least with Safari, it doesn't seem that it accomplishes what I'm looking for. If possible, I want to use fadeIn on the effect, so it blurs gradually. Thanks for any help! 回答1: Be aware that Blur is when a DOM-element, such as textboxes (inputs etc.) loses focus, and should not be mixed with the kind of blur you are talking about (gaussian

Frosted Glass Effect in JavaFX?

无人久伴 提交于 2019-12-17 06:34:23
问题 I'm making an iOS7-themed JavaFX2/FXML project and I was wondering how I could make a Rectangle object have a iOS7-like frosted glass effect. I'd also like it to have a small shadow. This is tricky, since you might be able to see the shadow behind the semi-transparent object. I'd just like it to be present around the edges. Is this possible? Here's a picture showing the desired effect (not including the small drop-shadow): UPDATE: Here's a continuation of the issue. This is going to look

Frosted Glass Effect in JavaFX?

妖精的绣舞 提交于 2019-12-17 06:34:07
问题 I'm making an iOS7-themed JavaFX2/FXML project and I was wondering how I could make a Rectangle object have a iOS7-like frosted glass effect. I'd also like it to have a small shadow. This is tricky, since you might be able to see the shadow behind the semi-transparent object. I'd just like it to be present around the edges. Is this possible? Here's a picture showing the desired effect (not including the small drop-shadow): UPDATE: Here's a continuation of the issue. This is going to look

Css blur on background image :hover but not on text

旧街凉风 提交于 2019-12-14 03:20:16
问题 Ex : https://jsfiddle.net/q4871w6L/ .article-image { height: 150px; width: 238px; -webkit-filter: grayscale(0) blur(0); filter: grayscale(0) blur(0); transition: .4s ease-in-out; } .article-image:hover { -webkit-filter: grayscale(100%) blur(2px); filter: grayscale(100%) blur(2px); transition: .4s ease-in-out; } .ar-image { position: relative; width: 238px; height: 150px; } .article-image > p { display: none; } .article-image:hover > p { position: absolute; top: 40%; display: block; color:

jquery autocomplete ipad hide keyboard focus

心已入冬 提交于 2019-12-13 17:07:09
问题 I use jquery ui autocomplete to search with an input. When I click on the input on an ipad, the keyboard show up correctly. Then I type some word and I have some search result that appears. sometimes, I can't see all the results on ipad. So I need to hide the keyboard. But when I hide the keyboard, the autocomplete menu that show the result disappear. it's because I loose the focus on the input. How can I stay focused or pointed on the current input with an touch device like an ipad? I found