I have a Cairo surface that I want to be able to save as Jpeg. I can use libjpeg for this, but I need to get the image as raster data, and I haven't been able to figure out how to do that from the manual.