action resize -> fill with background color if size doesn't match

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

Post Reply
capponz
Posts: 3
Joined: Fri Sep 30, 2016 9:26 pm

action resize -> fill with background color if size doesn't match

Post by capponz »

Hi, I'm usin XnView MP Linux Version 0.86 64bits (Apr 25 2017) on a Mint 17 Notebook.
I'm wondering if it is possible at batch resize->action->resize
to fill a empty space with a certain color?
i.e. I have a bunch of images and want to resize them to 1200 X 800 px . the outcome of one is 800 X 900.
Is it possible to fill the missing pixels with a color by default? I can't find it.

thank you very much !
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: action resize -> fill with background color if size doesn't match

Post by cday »

You might take a look at Actions > Image > Canvas resize where you can specify a colour ('Background color' for added canvas) and see if you can obtain the result you need with that, either used alone, or possibly in conjunction with Image > Resize ...
bdragon
Posts: 108
Joined: Mon May 01, 2017 8:06 am

Re: action resize -> fill with background color if size doesn't match

Post by bdragon »

I just did that and it works exactly as you described for me.

If you are asking "where do i select the background color?" it's Edit => background color...
Post Reply