
Originally Posted by
BLiZZaRD
Well, you beat me to it John. I guess I can knock that one off my challenge-to-do list
But at least I stood by my word that JS could do it

Yep, I won the race, but lost the argument. Anyways, I found a fudge to fix the ugly way FF does this. It distorts the image slightly (stretches it by 1px vertically), but is preferable in most cases to having a noticeable 1px slice of the image removed (addition red):
Code:
context.drawImage(im, 0, 0, c.width, c.height+1);
This also distorts the image slightly in Opera & Safari, but the trade-off may be worth it. I'm thinking there must be a better way though, I'll keep looking for a bit, the canvas tag is very complex.
Perhaps starting with the canvas 1px too sort might do it.
Edit: Nope, just tried it, no good, it changes the layout height of the canvas, doh!
Bookmarks