Canvas Resize: Automatic background colour

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

ihatzi
Posts: 6
Joined: Wed Aug 24, 2022 1:13 pm

Canvas Resize: Automatic background colour

Post by ihatzi »

This should be an easy one to implement, and would add an important bit of functionality currently missing.

The "Canvas Size" action should have the "Color of pixel at" feature for background color. Often you want to batch this and you need the background color to be dynamic.

Hope to see this soon :)
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Canvas Resize: Automatic background colour

Post by helmut »

+1 A good suggestion.

"Colour of Pixel at position" is a good start - later on there could be additional methods to determine the background, e.g. colour that is most often used for example.
ihatzi
Posts: 6
Joined: Wed Aug 24, 2022 1:13 pm

Re: Canvas Resize: Automatic background colour

Post by ihatzi »

How can we get this implemented?
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Canvas Resize: Automatic background colour

Post by helmut »

ihatzi wrote: Sun Sep 11, 2022 12:17 pm How can we get this implemented?
Pierre (xnview) is author of XnView. He has a (big) product backlog and decides what is done next.
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Canvas Resize: Automatic background colour

Post by xnview »

See issue for current status and some details.
Pierre.
ihatzi
Posts: 6
Joined: Wed Aug 24, 2022 1:13 pm

Re: Canvas Resize: Automatic background colour

Post by ihatzi »

Awesome!

Will this be rolled out to XnConvert as well?
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Canvas Resize: Automatic background colour

Post by xnview »

yes
Pierre.
ihatzi
Posts: 6
Joined: Wed Aug 24, 2022 1:13 pm

Re: Canvas Resize: Automatic background colour

Post by ihatzi »

Super.

Thanks so much for implementing this :)
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Canvas Resize: Automatic background colour

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.
Pierre.
ihatzi
Posts: 6
Joined: Wed Aug 24, 2022 1:13 pm

Re: Canvas Resize: Automatic background colour

Post by ihatzi »

ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Re: Canvas Resize: Automatic background colour

Post by ckit »

This has been implemented in "Batch Convert" beautifully but I'm disappointed that the "Canvas Resize" dialog for single image operations doesn't have it :(
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys