GdPicture Version: 11.1.14
I try to get the bytes from a Picture so I tried to use GetScanLines.
Code: Select all
var scanlines = gdPictureImaging.GetScanLines(ImageId);
var scanLineWidth = gdPictureImaging.GetStride(ImageId);
foreach (var t in scanlines)
{
var idata = new byte[scanLineWidth];
Marshal.Copy(t, idata, 0, scanLineWidth);
//Do something with the idata-Array
}