:red_circle:Convert given image into pure color image based on the theme color - experimental
As we all know, product managers are the biggest enemies every existed in this world. Their order sometimes may seem proactive and unreliable.
Such as this one:
“根据用户手机壳颜色来改变app主题颜色”
This is of course unimplementable using no extra hardware (at least I think so). However, this thought can be possibly converted to the problem “Make a pure color image based on the given image”.
img2color is one of the ways to do that, inspired by chensiun.
imgInput
.Image
Object with the file name of your image as the parameter. (i.e new Image("1.jpg")
).create()
method. (i.e image.create();
image is the name of the Image object here).imgOutput
.