开发者

XImage - how to resize?

开发者 https://www.devze.com 2022-12-27 23:05 出处:网络
I\'ve got a XImage retrieved by XShmGetImage function. How can I res开发者_运维百科ize it? Is there any function in X11 libraries to perform this operation or I need to use external library?You have t

I've got a XImage retrieved by XShmGetImage function. How can I res开发者_运维百科ize it? Is there any function in X11 libraries to perform this operation or I need to use external library?


You have to create a new one with the new size. An external library can't help because you would need the X server itself to cooperate.


You can use the XRENDER extension.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号