Max image glyph size

Hi there,

I’m curious about what seems to be a limit on the size of image glyphs, up to 2**16-1. This doesn’t seem to be a PIL limit, I’m just curious where this limit comes from. An example of the limit is below, which results in no plot, but without any obvious errors. Hoping to get some understanding as to what’s going on here. Thanks!

d = np.ones((1, 65536))
p = figure(width=400, height=400, sizing_mode="stretch_both")
p.x_range.range_padding = p.y_range.range_padding = 0
p.image(image=[d], x=0, y=0, dw=10, dh=10, level="image")
p.grid.grid_line_width = 0.5
show(p)

Bokeh does not enforce any limit, I expect you are running into some limitation at the browser level (which may also be different for different browsers).

Thanks Bryan, I thought as much. Cheers.