Highlighted

StageWebView Doesn't support Canvas imageSmoothing

New Here ,
Sep 04, 2015

Copy link to clipboard

Copied

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!?

TOPICS
Performance issues

Views

187

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

StageWebView Doesn't support Canvas imageSmoothing

New Here ,
Sep 04, 2015

Copy link to clipboard

Copied

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!?

TOPICS
Performance issues

Views

188

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 04, 2015 0

Have something to add?

Join the conversation