Skip to main content
September 4, 2015
Question

StageWebView Doesn't support Canvas imageSmoothing

  • September 4, 2015
  • 0 replies
  • 281 views

When resizing images on HTML canvas they appear very pixelated as it seems ImageSmoothing is not supported.

  var canva2s = document.getElementById("mapCanvas");

        var ctx = canva2s.getContext("2d");

        ctx.mozImageSmoothingEnabled = true;

        ctx.webkitImageSmoothingEnabled = true;

        ctx.msImageSmoothingEnabled = true;

        ctx.imageSmoothingEnabled = true;

Doesn't make a difference.

If you view this URL through StageWebView, you'll see the problem Zoomify example.

Changing to NativeMode doesn't work either, as it doesn't seem to even load the page!?

This topic has been closed for replies.