Polaroid effect in photos

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
lovelf
Posts: 13
Joined: 2012-12-11T13:23:57-07:00
Authentication code: 6789

Polaroid effect in photos

Post by lovelf »

I have gotten the following line of code to give a polaroid effect like to photos:

Code: Select all

 convert -caption "%c %f\\n%wx%h" filename.jpg -pointsize 18 -gravity south -splice 0x90 ( -bordercolor white -background white -border 59x59 -gravity center ) -border 1x1 -bordercolor "rgb(221,221,221)" -background "rgb(221,221,221)" -gravity center -polaroid 20 filename.jpg
$exec($command);
My problem is the caption positions itself inside the grey border, I'd need for it to be insider the white border, and the grey border to be outside of the caption.

Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Polaroid effect in photos

Post by fmw42 »

can you post a link to and example so we understand where it is and where you want to move it

what version of IM and platform are you using
lovelf
Posts: 13
Joined: 2012-12-11T13:23:57-07:00
Authentication code: 6789

Re: Polaroid effect in photos

Post by lovelf »

I opted to leave it all in white without two border colors for this reason, thanks.
Post Reply