How to fix blurry Image on transform scale
Try this, it’s work fine for me! img { -webkit-backface-visibility: hidden; -ms-transform: translateZ(0); /* IE 9 */ -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */ transform: translateZ(0); }
Try this, it’s work fine for me! img { -webkit-backface-visibility: hidden; -ms-transform: translateZ(0); /* IE 9 */ -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */ transform: translateZ(0); }
There is an interpolation option for imshow which controls how and if interpolation will be applied to the rendering of the matrix. If you try imshow(array, interpolation=”nearest”) you might get something more like you want. As an example A=10*np.eye(10) + np.random.rand(100).reshape(10,10) imshow(A) compared with A=10*np.eye(10) + np.random.rand(100).reshape(10,10) imshow(A, interpolation=”nearest”)
None of these seem to have worked for me but I’ve found a slightly dirty solution which seemed to do the trick: top: 49.9%; left: 49.9%; -webkit-transform: translate(-50.1%, -50.1%); transform: translate(-50.1%, -50.1%);
Webkit treats 3d transformed elements as textures instead of vectors in order to provide hardware 3d acceleration. The only solution to this would be to increase the size of the text and downscaling the element, in essence creating a higher res texture. See here: http://jsfiddle.net/SfKKv/ Note that antialiasing is still underpar (stems are lost) so … Read more
Add these styles around elements blocks which you are translating to fix the anti-aliasing, Translate Z-axis to have a zero value. -webkit-font-smoothing: subpixel-antialiased; -webkit-transform: translateZ(0) scale(1.0, 1.0);