Hi all,
Just wondering if there's any sort of operator that can take a photo, then change it to appear as though it was done in spray paint.
Example -
http://www.caption.it/create/spraypaint.php
Thanks,
Stephen
Stencil/Spray Paint Effect
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Stencil/Spray Paint Effect
Yes. there are two aspects to this. First you need to get the edges of the photo submitted, with the appropriate details. That can be tricky.
Once you have that i would then use a Random Dither
http://www.imagemagick.org/Usage/quanti ... -threshold
to create 'clumps' before blurring and overlaying it onto the background.
It can be done, but the hard part would be to create that line drawing.
Anyone like to give this a go?
Once you have that i would then use a Random Dither
http://www.imagemagick.org/Usage/quanti ... -threshold
to create 'clumps' before blurring and overlaying it onto the background.
It can be done, but the hard part would be to create that line drawing.
Anyone like to give this a go?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Stencil/Spray Paint Effect
StephenP wrote:Hi all,
Just wondering if there's any sort of operator that can take a photo, then change it to appear as though it was done in spray paint.
Example -
http://www.caption.it/create/spraypaint.php
Thanks,
Stephen
Perhaps something like this:
Bricks:
Lena:
Composite:
convert bricks_tilable2.jpg \( -size 256x256 xc:mediumblue \) \
\( lena.jpg -colorspace gray -negate \) -compose multiply -composite \
lena_bricks.jpg
OR
Lena:
Composite:
convert bricks_tilable2.jpg \( -size 256x256 xc:mediumblue \) \
\( lena2.jpg -resize 256x256 -colorspace gray -negate \) -compose multiply -composite \
lena_bricks4.jpg
OR
Lena:
Composite:
convert bricks_tilable2.jpg \( -size 256x256 xc:mediumblue \) \
\( lena2.jpg -colorspace gray -negate -background black -gravity center -extent 256x256 \) -compose multiply -composite \
lena_bricks3.jpg
OR for more color, remove the -compose multiply
Lena:
Composite:
convert bricks_tilable2.jpg \( -size 256x256 xc:mediumblue \) \
\( lena.jpg -colorspace gray -negate \) -composite \
lena_bricks.jpg
OR with slightly less color using xc:navy as a better compromise
Composite:
convert bricks_tilable2.jpg \( -size 256x256 xc:navy \) \
\( lena.jpg -colorspace gray -negate \) -composite \
lena_bricks.jpg