Android BlurMaskFilter has no effect in canvas.drawOval while text is blurred

Looks like a bug to me. I reported it to the Android team; we’ll see what they say. It renders correctly if you set android:hardwareAccelerated=”false” on your Activity in AndroidManifest.xml. Here is the official word from the Android graphics team: “BlurMaskFilter is not supported with hardware acceleration.” (As of July 10, 2012)

Blur the background of the WPF container

no, it is not possible. The Effect is applied to the element and all its children but you can easily place the TextBlock outside the container, rather than inside it. Normally you would use a grid like so: <Grid> <Border> <Border.Effect> <BlurEffect Radius=”5″ KernelType=”Gaussian”/> </Border.Effect/> </Border> <TextBlock …/> </Grid> In your example that will make … Read more

FFmpeg: How to convert vertical video with black sides, to video 16:9, with blurred background sides

I solved! ffmpeg -i input.mp4 -lavfi ‘[0:v]scale=ih*16/9:-1,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,crop=h=iw*9/16’ -vb 800K output.webm Input: https://www.youtube.com/watch?v=17uHCHfgs60 Output: http://www.youtube.com/watch?v=CgZsDLfzrTs

PHP/GD : Better Gaussian blur

After coming across the same problem, I applied the same filter a few times, and each time to the resulting resource of the previous “imagefilter” call. I got the ‘more blurry’ effect you’re looking for. e.g.: for ($x=1; $x<=15; $x++) imagefilter($image, IMG_FILTER_GAUSSIAN_BLUR);

Alternative to “FLAG_BLUR_BEHIND” in Android?

ok , there is probably no alternative that uses the API , unless maybe i’ve forgetting anything. i can however use dimming , which is cool too, as written here: WindowManager.LayoutParams lp = dialog.getWindow().getAttributes(); lp.dimAmount=0.0f; dialog.getWindow().setAttributes(lp); dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);

How to draw a blurry circle on HTML5 canvas?

I’d strongly suggest against blur algorithms unless you are blurring some already-existing drawing that is complex. For your case, just draw a rect with a radial gradient. var radgrad = ctx.createRadialGradient(60,60,0,60,60,60); radgrad.addColorStop(0, ‘rgba(255,0,0,1)’); radgrad.addColorStop(0.8, ‘rgba(228,0,0,.9)’); radgrad.addColorStop(1, ‘rgba(228,0,0,0)’); // draw shape ctx.fillStyle = radgrad; ctx.fillRect(0,0,150,150); Example: http://jsfiddle.net/r8Kqy/48/

Frosted Glass Effect in JavaFX?

Sample Solution Run the program below and scroll or swipe up to show the glass pane. The purpose of the program is just to sample the techniques involved not to act as a general purpose library for the frost effect. import javafx.animation.*; import javafx.application.Application; import javafx.beans.property.*; import javafx.geometry.Rectangle2D; import javafx.scene.*; import javafx.scene.Node; import javafx.scene.control.Label; import … Read more