jQuery: there is a way to apply colour (tint) to an image?

前端 未结 4 1839
长发绾君心
长发绾君心 2020-11-29 12:33

there is a way to colour (apply tint) an image using jQ or some plugs? thank you

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 13:00

    nico's answer is great if you're after a simple tinge of a colour - however, if you're talking about desaturating an image and then applying a tint (so that the image is only in green for example) then you can have a look at image manipulation with

    After some googling, I found this library for canvas that focuses on photo manipulation operations: https://github.com/meltingice/CamanJS

提交回复
热议问题