使用ImageMagick++; P>如何在C++中用IMAGE AGE+++来截取屏幕上的X11屏幕,类似于“导入”命令?在根窗口上< /P> < P> xGeTime>?/P> < P>使用源代码,卢克。如果在ImageMagick++中找不到它,请返回到它的依赖项。您要查找的代码位于ImageMagick/wand/import.c中: % ImportImageCommand() reads an image from any visible window on an X server % and outputs it as an image file. You can capture a single window, the % entire screen, or any rectangular portion of the screen. You can use the % display utility for redisplay, printing, editing, formatting, archiving, % image processing, etc. of the captured image.</dd> %ImportImageCommand()从X服务器上的任何可见窗口读取图像 %并将其作为图像文件输出。您可以捕获单个窗口 %整个屏幕或屏幕的任何矩形部分。你可以使用 %用于重新显示、打印、编辑、格式化和存档的显示实用程序, %捕获图像的图像处理等。

使用ImageMagick++; P>如何在C++中用IMAGE AGE+++来截取屏幕上的X11屏幕,类似于“导入”命令?在根窗口上< /P> < P> xGeTime>?/P> < P>使用源代码,卢克。如果在ImageMagick++中找不到它,请返回到它的依赖项。您要查找的代码位于ImageMagick/wand/import.c中: % ImportImageCommand() reads an image from any visible window on an X server % and outputs it as an image file. You can capture a single window, the % entire screen, or any rectangular portion of the screen. You can use the % display utility for redisplay, printing, editing, formatting, archiving, % image processing, etc. of the captured image.</dd> %ImportImageCommand()从X服务器上的任何可见窗口读取图像 %并将其作为图像文件输出。您可以捕获单个窗口 %整个屏幕或屏幕的任何矩形部分。你可以使用 %用于重新显示、打印、编辑、格式化和存档的显示实用程序, %捕获图像的图像处理等。,c++,imagemagick,x11,C++,Imagemagick,X11,如果您不希望它成为一个文件,那么您必须弄清楚代码本身在做什么。这似乎是代码中执行可访问X11显示的实际捕获的唯一位置,因此这是您的起点

如果您不希望它成为一个文件,那么您必须弄清楚代码本身在做什么。这似乎是代码中执行可访问X11显示的实际捕获的唯一位置,因此这是您的起点