Canvas resize adds black lines

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

Moderators: XnTriq, xnview

Post Reply
User avatar
Posts: 81
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
  • Open attached
    (378 Bytes) Downloaded 11 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 (23.89 KiB) Viewed 699 times
Expected: no black lines.

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

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

Re: Canvas resize adds black lines

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

ok, thanks, i'll check

Post Reply