Page 1 of 1

-polaroid, changing blue'ish background

Posted: 2007-07-29T15:41:55-07:00
by paultaylor
Hi all,

Firstly, sorry for a duplication of this message from 'Users', but I though it might be better suited here.

The examples on the imagemagick site :
http://www.imagemagick.org/Usage/transform/#polaroid
function, but the -background option only changes the colour of the shadow, not the colour used to "frame" the polaroid.

They all have the background preset. On one of my monitors it looks ok, the other its far too dark blue. The RMagick script example shows that the background can be set at the start of the script :
http://rmagick.rubyforge.org/Polaroid/polaroid.html
but 'convert' seems to have it hard coded.

I managed to hack the fx.c source to change the colour manualy, lines 2899 and 2922. Is this the only way ? if so would it be possible in the future to add this to a wish list to the -polaroid option, ie. polaroid [angle] [bordercolour] ?

Thanks in advance,
Paul

PS. Imagemagick rocks

Re: -polaroid, changing blue'ish background

Posted: 2007-07-29T16:34:15-07:00
by magick
We added a patch to ImageMagick 6.3.5-5 Beta (available sometime tomorrow) to control the color with the -bordercolor option.

Re: -polaroid, changing blue'ish background

Posted: 2007-08-03T14:33:18-07:00
by paultaylor
Excellent !!

The reaction from the guys involved in this project is phenomenal, THANKS