> I wonder if this can be done with cairo? If we can, then how? I don't know much about much, but could you not use clipping to simulate a crop? The save the clipped image to a new file. See cairo_clip () \d