Set background color without changing image color
Posted: 2013-08-25T11:26:22-07:00
I want my image to be 111x111 and I want the background to be red however I do not want the image to be too red. This code makes the part of the images that are not covered with the image red, which is good, however it also makes the image too red.
Code: Select all
convert -size 111x111 -crop 111x111+0+0 -background "red" rose: -unsharp 0x.5 \( +clone -shave 10x10 -fill gray50 -colorize 50% -mattecolor gray40 -frame 10x10+3+4 -blur 0x2 \) -compose HardLight -composite -gravity center -extent 111x111 -strip -quality 80 xyz.png