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.
- Step 1
Put your image file into folderimgInput
. - Step 2
Create anImage
Object with the file name of your image as the parameter. (i.enew Image("1.jpg")
). - Step 3
Run the program withcreate()
method. (i.eimage.create();
image is the name of the Image object here). - Step 4
Get your converted pure color image in the folderimgOutput
.
The algorithm needs to be improved.