Skip to content

DIY (Do-It-Yourself) - Yes, You Can! Design Your Own Punks Using the Punk (Building) Blocks - Let's Get Started w/ ImageMagick

License

Notifications You must be signed in to change notification settings

openpunkart/punkart.starter.magick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DIY (Do-It-Yourself) - Yes, You Can! Design Your Own Punks Using the Punk (Building) Blocks

Use the free ImageMagick tools to make your own punks.

Alien with Cap Forward, Small Shades & Pipe

Let's make punk #7804 - a super rare alien with a capforward , smallshades and a pipe from scratch:

$ magick convert alien-male.png \
                 capforward.png \
                 smallshades.png \
                 pipe.png \
         -background none -flatten punk7804.png

Now open up the new punk7804.png. Enjoy your million-dollar punk look-a-alike. Yes, it's a 100% true authentic pixel copy original.

Zooming In - 2x, 4x

Scale up the image by doubling the pixels (that is, use the -filter point option). Let's try 2x (that is, 200%):

$ magick convert punk7804.png \
         -filter point -resize 200% [email protected]

And 4x (that is, 400%):

$ magick convert punk7804.png \
         -filter point -resize 400% [email protected]

Why stop? Let's add a smile !

$ magick convert punk7804.png \
                 smile-alien.png \
         -background none -flatten punk7804_smile.png

2x, 4x:

Try the natural version :

2x, 4x:

Alien Invasion

Let's try the green (120°) variant. Let's make - a super rare alien with a capforward , smallshades and a pipe from scratch:

$ magick convert alien-male_120.png \
                 capforward.png \
                 smallshades.png \
                 pipe.png \
         -background none -flatten punk7804_120.png

2x, 4x:

Or try the 90° variant - alien-male_90.png:

2x, 4x:

Or 150° - alien-male_150.png:

2x, 4x:

Alien with Cap

Let's make punk #2890 - another super rare alien with a cap from scratch:

$ magick convert alien-male.png \
                 cap.png \
         -background none -flatten punk2890.png

2x, 4x:

Try the natural version :

2x, 4x:

All Caps

Let's try the red (0°) variant. Let's make - a super rare alien with a cap from scratch:

$ magick convert alien-male.png \
                 cap_0.png \
         -background none -flatten punk2890_0.png

2x, 4x:

Or try the blue (240°) variant - cap_240.png:

2x, 4x:

Humans with Cap

Or let's make a (light skintone) human punk with a red (0°) cap and a smile from scratch:

$ magick convert human-male_light.png \
                 cap_0.png \
                 smile.png \
         -background none -flatten human_light.png

2x, 4x:

Or try the dark skintone variant - human-male_dark.png - with a green (120°) cap - cap_120.png:

2x, 4x:

Doge Shiba Inu - Much Wow

Let's make a doge punk - a super rare alien with a headband from scratch:

$ magick convert alien.png \
                 headband.png \
         -background none -flatten doge3100.png

2x, 4x:

Or let's make a zombie with a knitted cap from scratch:

$ magick convert zombie_notop.png \
                 knittedcap.png \
         -background none -flatten doge2066.png

2x, 4x:

Or let's make a classic with a 3d glasses from scratch:

$ magick convert classic.png \
                 3dglasses.png \
         -background none -flatten doge_3dglasses.png

2x, 4x:

And so on. Yes, you can.

Bonus - ImageMagick Special Effects

Use the free ImageMagick tools to script special effects (on the command line).

Polaroid-Like Photos

Let's start with a "plain vanilla" punk, that is, #2890 and let's use the 4x (96×96) version and turn it into a captioned polaroid-like photo:

$ magick convert punk2890x4.png \
          -gravity center -set caption "Punk #2890" \
          -caption '%c' \
          -border 5x5 \
          -bordercolor AliceBlue -background black  +polaroid \
          polaroid2890.png

And let's try some more:

Magnify 2x, 3x 4x with (Smooth) Pixel Art Scaling Algorithm

Let's start with a "plain vanilla" punk, that is, #2890 and let's use 2x magnified (48×48) version using a (smooth) pixel art scaling algorithm¹):

Note¹: ImageMagic uses the scale2x algorithm

$ magick convert punk2890.png \
          -magnify \
          [email protected]

And doubling again (4x):

$ magick convert punk2890.png \
          -magnify -magnify \
          [email protected]

And doubling again (8x):

$ magick convert punk2890.png \
          -magnify -magnify -magnify \
          [email protected]

And let's try some more:

Power Tip - Let's retry with the high quality scale (hqx) pixel art scaling algorithm family in the 2x, 3x and 4x variants.

Note: A free ImageMagick tools installation gets you a copy of ffmpeg. Let's try:

$ ffmpeg -i punk2890.png \
          -filter_complex hqx=2 \
          [email protected]

And 3x:

$ ffmpeg -i punk2890.png \
          -filter_complex hqx=3 \
          [email protected]

And 4x:

$ ffmpeg -i punk2890.png \
          -filter_complex hqx=4 \
          [email protected]

And let's try some more:

And so on. Yes, you can.

Questions? Comments?

Join us in the Punk Art discord (chat server). Yes you can. Your questions and commentary welcome.

Or post them over at the Help & Support page. Thanks.

About

DIY (Do-It-Yourself) - Yes, You Can! Design Your Own Punks Using the Punk (Building) Blocks - Let's Get Started w/ ImageMagick

Topics

Resources

License

Stars

Watchers

Forks