Canvas resize adds black lines

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
User avatar
dma_k
Posts: 80
Joined: Tue Apr 14, 2009 8:50 am

Canvas resize adds black lines

Post by dma_k » Mon Nov 04, 2019 1:47 pm

Initial setup:
  • XnView v2.48
  • B&W image with 91 pixels width
Steps:
  • Open attached
    sample.tif
    (378 Bytes) Downloaded 5 times
  • Do Image → Canvas size. Set new width to 100px and select Top-Left of Middle-Left or Bottom-Left as image position. Note that background color is white.
Result: Canvas is resized, but 5 black vertical lines are added:
shot.png
shot.png (23.89 KiB) Viewed 108 times
Expected: no black lines.

Notes:
  • Does not happen with another width.
  • Does not happen with other image position values.

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

Re: Canvas resize adds black lines

Post by xnview » Tue Nov 05, 2019 2:32 pm

ok, thanks, i'll check
Pierre.

Post Reply