black borders with canvas-funktion

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
Mario27

black borders with canvas-funktion

Post by Mario27 »

Hello!

I have a Problem with nconvert.exe.
I would like to convert a picture 120x120 pixel to 135x120 pixel with the canvas-function. this works, but now i have black borders on each side, but they should be white like the bg-color of the picture.

so...

how can i set the color to white / #FFFFFF?

best regards

mario
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: black borders with canvas-funktion

Post by xnview »

Mario27 wrote:Hello!

I have a Problem with nconvert.exe.
I would like to convert a picture 120x120 pixel to 135x120 pixel with the canvas-function. this works, but now i have black borders on each side, but they should be white like the bg-color of the picture.

so...

how can i set the color to white / #FFFFFF?
Please use -bgcolor
Pierre.
Mario27

Post by Mario27 »

It works! Thank you for the Program and the fast answer!
Post Reply