Daniel Agans
Daniel Agans

Reputation: 718

Color Shifted Images via Imagemagick?

Can anyone point me in the direction of how to create a similar effect to that below using imagemagick? I doubt it matters, but I'm working with png images.

color shift example

Upvotes: 0

Views: 136

Answers (2)

fmw42
fmw42

Reputation: 53089

Another way to do this in ImageMagick uses composite -stereo.

Input:

enter image description here

composite -stereo -20+0 test.png test.png result1.png


enter image description here

But this is less flexible in the color choice than Mark Setchell's method.

Upvotes: 1

Mark Setchell
Mark Setchell

Reputation: 207365

Something like this maybe:

convert -size 800x600 caption:"SOME TEXT" -compose darken \
   \( -clone 0 -fill "rgb(227,90,130)" -opaque black -roll +10+0 \) -composite \
   \( -clone 0 -fill "rgb(71,160,200)" -opaque black -roll -10+0 \) -composite result.png

enter image description here

Upvotes: 2

Related Questions