Page 1 of 1
Way to create a new canvas of specified colour
Posted: Mon Feb 18, 2019 9:31 pm
by cday
As far as I know there is currently no way to create a new blank canvas in XnView software?
Re: Way to create a new canvas of specified colour
Posted: Mon Feb 18, 2019 11:38 pm
by deus-ex
No, not from scratch. Here's a workaround:
Create new canvas with specified background color
- load any image
- resize Canvas [Shft+C] with desired background color
- copy small selection of new background
- select all [Ctrl+A]
- paste [Ctrl+V]
- save result to new file
Re: Way to create a new canvas of specified colour
Posted: Tue Feb 19, 2019 7:28 am
by cday
Thanks for the workaround, but I think a direct method specifying the desired canvas size and colour would be a useful addition...

Re: Way to create a new canvas of specified colour
Posted: Tue Feb 19, 2019 9:00 am
by deus-ex
Yes of course, the workaround is meant as a (hopefully) temporary workaround.

Re: Way to create a new canvas of specified colour
Posted: Tue Feb 19, 2019 4:08 pm
by m.Th.
+1
I would do it like this:
File | New...
And then, as @cday said, a dialog appears with the dimensions (W x H) and the Color.
Re: Way to create a new canvas of specified colour
Posted: Mon Aug 12, 2019 2:55 pm
by xnview
See
issue for current status and some details.
Re: Way to create a new canvas of specified colour
Posted: Tue Sep 17, 2019 10:20 am
by xnview
This problem is supposed to be fixed in
XnView MP 0.94. Please check and confirm the bug fix here.
Re: Way to create a new canvas of specified colour
Posted: Tue Sep 17, 2019 4:14 pm
by m.Th.
Pfff... Pierre... I would renounceδ for a long time to search this feature if I wouldn't love you. Yes, I am serious.
I would add it also in the File \ New.
Re: Way to create a new canvas of specified colour
Posted: Sun Dec 20, 2020 1:25 am
by deus-ex
xnview wrote: Tue Sep 17, 2019 10:20 am
This problem is supposed to be fixed in
XnView MP 0.94. Please check and confirm the bug fix here.
Hi Pierre, I'm not the original poster of this issue, but I'd like to confirm that it is indeed partially fixed. The background of an existing image now is filled entirely with the desired color upon canvas resize.
However, there is no functionality yet to create a new blank image from scratch, as was requested by cday above.
Re: Way to create a new canvas of specified colour
Posted: Sun Dec 20, 2020 7:45 am
by cday
deus-ex wrote: Sun Dec 20, 2020 1:25 am
However, there is no functionality yet to create a new blank image from scratch, as was requested by cday above.
Yes there is, it was originally placed in the browser, but by popular request was moved to the viewer:
File > New image... 
Re: Way to create a new canvas of specified colour
Posted: Sun Dec 20, 2020 11:47 am
by deus-ex
Oh well, I managed to overlook the New File entry both in the browser and the edit mode. My only excuse is that it was quite late at the time I posted my reply above.
Operating the New File dialog with the keyboard needs some improvement, though. Pressing the Tab key, the cursor walks through the options in an unusual pattern. Currently, the cursor starts at the second entry "Height" on the left which isn't clearly visible as the input field is not highlighted. From "Height" the cursor moves up to "Width", then to the right and down to "DPI", then up to "Mode which again is not highlighted, then down below to "Background color", then down to "OK" and finally right to "Cancel".
Opening the New File dialog the cursor should start at the top left entry "Width". Then cycling through the options with the Tab key the cursor should go to "Height", then "Mode", "DPI", "Background color", "OK" and "Cancel".