XnView crashes on non-power-of-2 DDS

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

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
LigH
Posts: 13
Joined: Thu Mar 15, 2007 9:01 am

XnView crashes on non-power-of-2 DDS

Post by LigH »

Usually, DDS images should have a pair of power-of-2 dimensions. They don't need to be squared, e.g. 512x128 is suitable too. But power-of-2 sizes are very recommendable to support MipMaps down to 1x1 pixels.

Unfortunately, DDS images with non-power-of-2 sizes do exist. And one of them makes XnView crash during the creation of preview pictures for a directory.

Example: http://www.ligh.de/PlaneShift/character ... sophia.dds
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView crashes on non-power-of-2 DDS

Post by xnview »

Yes right
Pierre.
Post Reply