Page 1 of 1

CreateGdPictureImageFromByteArray will not load PNG

Posted: Thu Apr 03, 2014 9:20 pm
by don2
Why does CreateGdPictureImageFromByteArray not open a byte array PNG image, as follows

var oGdPictureImaging = new GdPictureImaging();
var imageId = oGdPictureImaging.CreateGdPictureImageFromByteArray(imageArray);

There as if I stream the bytes into a NET Image class the image loads fine?

Re: CreateGdPictureImageFromByteArray will not load PNG

Posted: Sun Apr 13, 2014 11:34 am
by SamiKharma
Hi,

I think the problem might be in the way you are creating your bytearray image. Please have a look at the example in the reference guide. If you still encounter the problem please attach the PNG image you are talking about.

Best,
Sami