Hi,
I've been tweaking this script for many days but I'm still strugling at getting transparency around my Polaroid effect.
Take a look at the resulting image to better understand: http://oi52.tinypic.com/8vq7bl.jpg
See code below:
convert baby.jpg -alpha set -background transparent -bordercolor snow -polaroid 6 baby_polaroid.png
convert -page +225+225 baby_polaroid.png ^
-page +840+705 baby_polaroid.png ^
+page ^
-alpha set -virtual-pixel transparent ^
-channel A -blur 0x10 -level 50,100% +channel ^
back.jpg -insert 0 ^
-background transparent -flatten overlap_canvas.jpg
Thanks,
Harold
Transparency issue on Polaroid
-
- Posts: 1
- Joined: 2011-03-15T19:02:47-07:00
- Authentication code: 8675308
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Transparency issue on Polaroid
JPG does not allow transparency. Use GIF or PNG for your output.