Get displayed picture as array....
Get displayed picture as array....
i need to get the current displayed picture as byte array of a 24bpp bmp image.
Is possible with gdViewer (wich version) ? or if not... is possible with gdPicture (wich version) ?
Is possible with gdViewer (wich version) ? or if not... is possible with gdPicture (wich version) ?
Hi,
You can get this functionality into the GdPicture Light and into GdPicture PRO OCX:
https://www.gdpicture.com/references/gdp ... Array.html
Ex in vb6:
Best regards,
Loïc Carrère
You can get this functionality into the GdPicture Light and into GdPicture PRO OCX:
https://www.gdpicture.com/references/gdp ... Array.html
Ex in vb6:
Code: Select all
dim nBytesRead as long
dim arBytes() as byte
dim oGdPicture as new GdPicturePro.cGdPicture
oGdPicture.SetNativeImage(GdViewer1.GetNativeImage())
oGdPicture.SaveAsByteArray(arBytes(), nBytesRead, "bmp")
...
Best regards,
Loïc Carrère
Code: Select all
Right ?
Who is online
Users browsing this forum: No registered users and 1 guest