🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.graphics
1 messages
1 total messages Started by Abhishek Dubey Fri, 04 Nov 2011 13:37
save canvas to image in IE7/8
#334
Author: Abhishek Dubey
Date: Fri, 04 Nov 2011 13:37
16 lines
2077 bytes
Dear all group member,

I am software developer and facing to much trouble of  save canvas
image in server for IE7 and 8 version .Its working in all browser but
not working in above broser please help me .
in this i am stuck in .toDataurl <error  was object not supported>
i am using code for this .
please provide me any solution i am facing to much trouble .
thanks in advance .
var oCanvas=document.getElementById('mychart').firstChild;
	var canvasData = oCanvas.toDataURL("image/png");
	var ajax = new XMLHttpRequest();
	ajax.open("POST",'testSave.php',false);
	ajax.setRequestHeader('Content-Type', 'application/upload');
	ajax.send(canvasData);
	document.pdf.submit();
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads