Using OpenVG 1.1 I am trying to dump a VGImage to a file to confirm things are working but I am unsure how to access the raw RGBA data of the VGImage. Using vgReadPixels to capture the data to a char array does somewhat work but before I spend much more time getting the formatting correct on this I'd like to know if there's a better way to capture the VGImage data as captured with vgGetPixels.
This is being done on an i.MX53 in Linux using Freescale's BSP.