WebKit: Blurry text with css scale + translate3d

I’m seeing an issue where Chrome and other WebKit browsers massively blur any css-scaled content that also has translate3d applied. Here’s a JS Fiddle: http://jsfiddle.net/5f6Wg/. (View in Chrome.) .test { -webkit-transform: translate3d(0px, 100px, 0px); } .testInner { /*-webkit-transform: scale(1.2);*/ -webkit-transform: scale3d(1.2, 1.2, 1); text-align: center; } <div class=”test”> <div class=”testInner”> This is blurry in Chrome/WebKit … Read more

Convert a Bitmap to GrayScale in Android

I am new to this site, and I come with a question about Android. Is there any way to convert a Bitmap to grayscale? I know how to draw a grayscale bitmap (using canvas operations: http://www.mail-archive.com/android-developers@googlegroups.com/msg38890.html) but I really need The actual bitmap in gray colors (or at least something that could be converted to … Read more

Greyscale Background Css Images

I’ve searched a lot on the web but I cannot find a cross browser solution to fade a css backgrund image to greyscale and back. The only working solution is to apply CSS3 filter greyscale: -webkit-filter: grayscale(100%); but this works just with Chrome v.15+ and Safari v.6+ (as you can see here: http://css3.bradshawenterprises.com/filters/) Many pages … Read more

Convert RGB to Grayscale in ImageMagick command-line

How do I convert a RGB image (3 channels) to a grayscale one, using the (r+g+b)/3 method? I look through an examples page: http://www.imagemagick.org/Usage/color_mods/#grayscale but the desired method: convert test.png -fx ‘(r+g+b)/3’ gray_fx_average.png gave me a wrong result – the resulted image has still 3 channels. You can check this by running a command: identify … Read more

Plotting with ggplot2: “Error: Discrete value supplied to continuous scale” on categorical y-axis

The plotting code below gives Error: Discrete value supplied to continuous scale What’s wrong with this code? It works fine until I try to change the scale so the error is there… I tried to figure out solutions from similar problem but couldn’t. This is a head of my data: > dput(head(df)) structure(list(`10` = c(0, … Read more