Need to extract image from SKP file using C Api


I am working on to get a thumbnail image from SKP files, and I am able to build the sample program given on SketchUp C API: SketchUp C API,

Can any one help me in figuring out how can I extract the thumbnail from an SKP file?


AFAIR there is no CAPI for this, but if you read carefully this thread you’ll find how to extract manually thumbnails from skp file: