Home | About us | Overview | Softwares - Downloads | Evaluate | Order | Support | old forums | Contact | F.A.Q. | Documentations | Search | Sitemap

Javascript and DisplayFromByteArray

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Javascript and DisplayFromByteArray

Postby jlorenzi on Wed Oct 17, 2007 8:07 pm

Hi,

I using the picture control on a web page, and using Ajax to make a web service call (in C#) that returns a byte[] array buffer, then calling DisplayFromByteArray on the picture control. I'm getting a type mismatch error. I can check the length of the javascript array, it's correct, the array of bytes is there, but it seems to be in a different format than just a simple byte array that the control accepts.

Any ideas on how to convert the java array to a byte array that the picture viewer will accept?

If not, any chance on adding a function to the control that will accept a javascript array of bytes?

Thanks,
_/eff lorenzini
jlorenzi
 
Posts: 3
Joined: Wed Oct 17, 2007 3:25 am

Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest