Resizing palette-based images with bilinear interpolation

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

Moderators: XnTriq, xnview

Post Reply
User avatar
XnTriq
Moderator & Librarian
Posts: 5311
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Resizing palette-based images with bilinear interpolation

Post by XnTriq » Sun Aug 27, 2017 1:45 pm

Resizing palette-based images with bilinear interpolation produces weird results in XnView v2.40:

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

Re: Resizing palette-based images with bilinear interpolation

Post by xnview » Mon Aug 28, 2017 10:57 am

with previous version too?
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5311
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Resizing palette-based images with bilinear interpolation

Post by XnTriq » Mon Aug 28, 2017 4:00 pm

xnview wrote:with previous version too?
Yes, same issue with v2.39 and v2.37, but not in v1.99.6:
p144785_1.png
p144785_1.png (3.7 KiB) Viewed 321 times
p144785_2.png
p144785_2.png (39.9 KiB) Viewed 321 times
p144785_3.png
p144785_3.png (68.17 KiB) Viewed 321 times

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

Re: Resizing palette-based images with bilinear interpolation

Post by xnview » Wed Aug 30, 2017 7:10 pm

XnTriq wrote:
xnview wrote:with previous version too?
Yes, same issue with v2.39 and v2.37, but not in v1.99.6:
in 1.99, the nearest neighbour was used for such images, but some users would like to have bilinear
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5311
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Resizing palette-based images with bilinear interpolation

Post by XnTriq » Wed Aug 30, 2017 11:15 pm

xnview wrote:in 1.99, the nearest neighbour was used for such images, but some users would like to have bilinear
The results I get with Bilinear in v1.99.6 and Nearest Neightbour in v2.40 are indeed identical.

Post Reply