-polaroid, changing blue'ish background

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
paultaylor

-polaroid, changing blue'ish background

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: -polaroid, changing blue'ish background

Post by magick »

We added a patch to ImageMagick 6.3.5-5 Beta (available sometime tomorrow) to control the color with the -bordercolor option.
paultaylor

Re: -polaroid, changing blue'ish background

Post by paultaylor »

Excellent !!

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