Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImageMagick - Add white transparent overlay to image

I need to take a normal image:

enter image description here

and add a white, transparent overlay so it looks something like this:

enter image description here

Don't pay attention to the text on the converted image or the fact that it's a cropped version of the original. I need to simply convert the top to the exact same image, just with this white, transparent overlay. I also need it to be a cli command.

like image 623
jrkt Avatar asked Nov 04 '15 14:11

jrkt


1 Answers

Updated Answer

This is even easier

convert house.jpg -fill white -colorize 80%  result.png

Original Answer

Something like this maybe...

convert house.jpg \( +clone -fill white -colorize 80% \) -composite result.png

enter image description here

like image 121
Mark Setchell Avatar answered Dec 28 '22 19:12

Mark Setchell