Last active
February 2, 2017 08:42
-
-
Save yoya/95ee20785d9d52b4608fb48f0a371058 to your computer and use it in GitHub Desktop.
RGB plus compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert -size 200x200 xc:black -fill "#f00" -draw "circle 100,75 60,35" r.png | |
convert -size 200x200 xc:black -fill "#0f0" -draw "circle 75,125 35,85" g.png | |
convert -size 200x200 xc:black -fill "#00f" -draw "circle 125,125 85,85" b.png | |
composite r.png -compose plus g.png rg.png | |
composite rg.png -compose plus b.png rgb.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment