Page 1 of 1

Setting Background colour when resizing canvas

Posted: Tue Nov 16, 2004 11:33 pm
by Hochi
I want to resize my images in canvas to 200x150 with white background.

nconvert -canvas 640 480 001.jpg

but the color is black!!!?????? i want white!!!!

please help me :!:

Re: -canvas

Posted: Wed Nov 17, 2004 7:01 am
by helmut
Hochi wrote:I want to resize my images in canvas to 200x150 with white background.

nconvert -canvas 640 480 001.jpg

but the color is black!!!?????? i want white!!!!

please help me :!:
Think you have to use the parameter -bgcolor <Red value> <Green value> <Blue value>, e.g.

nconvert -canvas 640 480 -bgcolor 255 255 255 001.jpg

for a white background.