Last active
June 21, 2022 11:18
-
-
Save yoya/a498236936cd21fca353020477cb79f2 to your computer and use it in GitHub Desktop.
CMYK rectangle by ImageMagick
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 1024x1024 -background transparent xc: -compose darken \ | |
\( xc: -draw "fill Cyan rectangle 100,100,600,650" \) -composite \ | |
\( xc: -draw "fill Magenta rectangle 200,400,750,900" \) -composite \ | |
\( xc: -draw "fill Yellow rectangle 350,250,1000,650" \) -composite \ | |
-font KaiseiDecol-Regular.ttf +gravity -pointsize 256 -fill black -stroke black -strokewidth 18 \ | |
-draw "rotate 15 text 190,270 C" \ | |
-draw "rotate 0 text 350,870 M" \ | |
-draw "rotate -10 text 700,650 Y" \ | |
-draw "rotate 0 fill white stroke white text 390,620 K" \ | |
CMYK.png ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment