且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改列表视图中图像的亮度

更新时间:2023-12-05 17:41:58

您将需要某种亮度过滤器.正如您说的那样,您正在使用Linux(这解释了为什么您使用诸如"dat"之类的词)的原因,我不确定您将如何直接获得像素访问权限,C ++对此一无所知,取决于您使用的平台.但我希望会有免费的库供您使用.
You''d be wanting some sort of brightness filter. As you say you''re using Linux ( which explains why you use words like ''dat'' ), I''m not sure exactly how you''d get direct pixel access, C++ has no knowledge of such things, they depend on the platform you''re using. But I''d expect there would be free libraries you could use.