更改 base64 图像颜色

时间:2021-04-22 05:53:40

标签: reactjs image base64

你好,我正在尝试通过 react-image-comparison-slider 比较两个图像 如此 compare two images

通过此代码

<ImageSlider
            image1={imageURL}
            image2={imageURL1}
            sliderWidth={3}
            sliderColor="red"
            handleColor="red"
            handleBackgroundColor="white"
          />

我想通过用红色替换黑色来对第一张图像应用一些更改。有没有办法用 react 编辑 base64 图像的颜色?

0 个答案:

没有答案
相关问题