This is driving me absolutely nuts. I'm trying to upscale some pixel art and Safari isn't playing ball. This is the CSS I'm applying to the image:
Sub Group_Formula()
Dim frmla As String, rw As Long, rws As Long, n As Long, cnt As Long
frmla = "=SQRT((A$×-A×)^2+(B$×-B×)^2+(B$×-B×)^2)"
With ActiveSheet '<-set to worksheet name properly!
For cnt = 1 To Application.CountIf(.Columns("G"), "Full*")
rw = Application.Max(2, rw)
rws = Application.Match("Full*", .Cells(rw, "G").Resize(Rows.Count - rw, 1), 0)
.Cells(rw, "H").Resize(rws, 1).Formula = Replace(frmla, Chr(215), rw)
rw = rw + rws
Next cnt
End With
End Sub
Now this works great in Chrome and looks like this:
But on Safari it renders this blurry mess:
I'm using Safari 8.0 and every thread I've seen says this should be working. It's not. It's simply not. I'm aware there are solutions involving drawing on a canvas but come on.. it's 2015, I shouldn't have to jump through hoops to upscale with the most basic of upscaling algorithms.