Dynamically changing image colours

前端 未结 3 1476
别跟我提以往
别跟我提以往 2021-01-06 00:04

I am developing an application which displays multiple views as tables (for example customers, products, etc.). The last column of each row contains buttons, using which the

3条回答
  •  伪装坚强ぢ
    2021-01-06 00:43

    I would use jQuery for this and set the color behind the png or of the png regarding the css class/es of the table.

    Dont use too much php like Imagemagick because it slows down the rendering of the page dramatically.

    take a look at Pixastic (coloradjust)
    https://github.com/jseidelin/pixastic http://www.pixastic.com/lib/docs/actions/coloradjust/

    or PaintbrushJS (colour tint)
    https://github.com/mezzoblue/PaintbrushJS
    http://mezzoblue.github.com/PaintbrushJS/demo/

    or CamanJS (colorize)
    http://camanjs.com/
    http://camanjs.com/guides/#BuiltIn
    https://github.com/meltingice/CamanJS/

    or VintageJS
    http://rendro.github.io/vintageJS/
    https://github.com/rendro/vintageJS

提交回复
热议问题