The core function of GetImage is to convert the specific bitmap format of the Unix operating system platform into the dib device-independent bitmap format of the Windows specification, and those functions in the gdi null driver of wine are only converted between dib bitmap data, so it does not To meet this requirement, the only reference is the x11 driver of wine, and I have already used it. Or you can tell me which codes in wine can be used to complete this task, but you need to pay attention to the bitmap on MacOS, the coordinate system is different from that used by gdi, and conversion operations such as flipping, translation and zooming are required. These codes have been tested and used in my projects for a long time.