Skip to content

SetDisplayInput设置内存模式失败 #175

@SxxxxxFeng

Description

@SxxxxxFeng

img_bgr = cv2.cvtColor(np.asarray(client.screen), cv2.COLOR_RGB2BGR)
result = op.SetDisplayInput(f"mem:{img_bgr.ctypes.data}")

按照这个方式设置内存模式返回的结果都是0,我还测试设置pic模式和screen模式,返回值都是1,说明接口的调用正常。就是内存模式无法用。
win11,python 3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions