【发布时间】:2019-11-16 05:52:15
【问题描述】:
我想在资产图像上放置一个颜色过滤器。 如下,我目前有一个带有 colorBlendMode 滤镜的图像,但我希望能够直接修复图像每个像素的 RGB 值。 有谁知道如何做到这一点?
body: Center(
child: new Image.asset(
'assets/gallery/garrowby_hill.jpg',
width: size.width,
height: size.height,
fit: BoxFit.fill,
color: Color.fromRGBO(redCount, greenCount, blueCount, 1),
colorBlendMode: BlendMode.multiply,
),
),
【问题讨论】:
标签: image image-processing flutter dart