You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Monday, September 26th 2016, 1:11pm

screen snapshot


I am using krpano to pan and zoom into a large product picture. After a certain level of zoom I am trying to insert a 'pixelate' effect. In order to accomplish this I need to have a snapshot of the screen at that zoom level and write it in another canvas where to implement my effect.

It seems that it's impossible to make this snapshot.....I tried other js libraries like html2canvas or simply 'by hand' (elem = document.getElementsByTagName('canvas')[0];..... and try to draw this krpano generated canvas into mine). The problem is that krpano canvas context is a webgl one and I cannot capture it to be drawn in another canvas. (not to mention that in IE edge the context is null).

Any ideas of how can I make this 'screenshot' ?

Thx in advance


Tuesday, September 27th 2016, 10:48am


embedding with: html5:"prefer+preserveDrawingBuffer" solved it


Friday, April 12th 2019, 10:29am


you really helped me a lot!