the same code, but different render effects in IE and Chrome. I need either in one browser.

Dear friends

I have the same python codes with bokeh plotting, however, the different visualization effects of the image observed. (I use image command in bokeh to render the results)

Following is the results in IE 11.

Following is the results in Chrome 48.0.2564.97

My question is,

  1. What the reason for the different effects? different bokeh.js behaviors in different browsers?

  2. I would like either rendering results be displayed in the same browser, e.g. Chrome, whether I can control the render effect by python codes?

Thanks in advance

We specifically set smoothing off before rendering images, so that they are present exactly as they are, without modification by the browser:

  https://github.com/bokeh/bokeh/blob/master/bokehjs/src/coffee/models/glyphs/image_rgba.coffee#L64

However, it looks like IE is ignoring this call to "setImageSmoothingEnabled(false)" completely. If this is some different usage we need to adopt for IE, we can certainly add a platform detection workaround. It it is some bug in the IE canvas implementation, there may be nothing we can do (ultimately we are at the mercy of the browser's canvas implementaion, we have no control over that)

In any case this will require some investigation and prioritization, can you make a GitHub issue with this information?

Bryan

ยทยทยท

On Feb 15, 2016, at 4:13 AM, gongming wei <[email protected]> wrote:

Dear friends

I have the same python codes with bokeh plotting, however, the different visualization effects of the image observed. (I use image command in bokeh to render the results)

Following is the results in IE 11.

Following is the results in Chrome 48.0.2564.97

My question is,
1. What the reason for the different effects? different bokeh.js behaviors in different browsers?
2. I would like either rendering results be displayed in the same browser, e.g. Chrome, whether I can control the render effect by python codes?

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/250ca4fd-2397-4d5a-b1ba-d458a0509bca%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.