Replace a certain color of pixels in a png with another png image

Published: 5/10/2017
Replace a certain color of pixels in a png with another png image
Source: UNIX.STACKEXCHANGE.COM

I have a png (items.png) which consists of mostly black pixels. I want to replace all the black pixels with another image. (background.png) The images are not the same size, items.png is smaller than background.png. Is there an ImageMagick command that does something like this? Thanks!

Read more
Related news
Comment