reddag / jsc3d

Automatically exported from code.google.com/p/jsc3d
0 stars 0 forks source link

export image due canvas2png / FlashCanvasPro #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. missing docu on how to export image due canvas2png
2.
3.

What is the expected output? What do you see instead?
nothing, dont know how to use the code correctly

What version of the product are you using? On what operating system?
win7/firefox

Please provide any additional information below.
i would like to use the "canvas2png" function and library found in 
...jsc3d\external\FlashCanvasPro\bin but i can not find any informations how to 
use it correctly. i tried simply toDataURL already 
(window.open(cv.toDataURL());) apart from that plugin but i always just get a 
blank image instead of the final rendered. any suggestions?

any help highly appriciated (:
thanks!

Original issue reported on code.google.com by janus1...@gmail.com on 16 Mar 2014 at 12:30

GoogleCodeExporter commented 9 years ago
I don't think there's anything to do with FlashCanvas since you are using 
Firefox. jsc3d_ie.js is only for old IEs which do not support canvas. On modern 
browsers, just use toDataURL() method to take screenshots.

Original comment by Humu2...@gmail.com on 17 Mar 2014 at 6:39

GoogleCodeExporter commented 9 years ago
okay thanks, i also already found out why toDataURL() didnt work for me...the 
object was loading too slow, i use setTimeout now, that works quite well

like to test;
setTimeout(function() { window.open(cv.toDataURL());},1000);

but thanks!

Original comment by janus1...@gmail.com on 17 Mar 2014 at 9:21