Hi,
I am using GDPicture to capture image from microscope and I want it to be saved as JPEG instead of PDF or TIFF. Currently I am using methods from your example
function saveAsPDF(path) {
var oGdViewer = document.getElementById("GdViewer1");
var status = oGdViewer.SaveAsPDF(path);
if (status == 0) {
}
else {
alert("error saving file: " + path + ". status: " + status);
}
}
I want to save the image as JPEG and use it further. Please provide some code samples using javascript.
Javascript Example save as JPEG
Re: Javascript Example save as JPEG
Hi,
As far as I know SaveAsPDF() is not a method of the GdViewer class.
Which version of GdPicture.NET are you using?
That said, I think you should really consider to check into the reference guide of your edition, if you have a SaveAsPDF() method you have also probably a SaveAsJPEG() method...
With best regards,
Loïc
As far as I know SaveAsPDF() is not a method of the GdViewer class.
Which version of GdPicture.NET are you using?
That said, I think you should really consider to check into the reference guide of your edition, if you have a SaveAsPDF() method you have also probably a SaveAsJPEG() method...
With best regards,
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests