defunct jpg -> DDS conversion

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

Moderators: helmut, XnTriq, xnview

Post Reply
gaikokujinkyofusho
Posts: 9
Joined: Fri Jun 10, 2011 6:41 pm

defunct jpg -> DDS conversion

Post by gaikokujinkyofusho »

Hi, I tried to batch convert a collection of movie posters from jpg to dds and for some reason xn resized the files and added black space to the DDS file. Here are links to the before
http://dl.dropbox.com/u/507145/1a8c48a7.jpg

and after
http://dl.dropbox.com/u/507145/1a8c48a7.dds

files. I have tried to do additional things like cleaning metadata and resizing the graphics (as opposed to only converting the format) but nada, still defunct dds. Hopefully I am just not doing something right and this is not a bug.

Cheers,

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

Re: defunct jpg -> DDS conversion

Post by xnview »

The output picture must be 4bytes padding...
Pierre.
gaikokujinkyofusho
Posts: 9
Joined: Fri Jun 10, 2011 6:41 pm

Re: defunct jpg -> DDS conversion

Post by gaikokujinkyofusho »

xnview wrote:The output picture must be 4bytes padding...
Hi Pierre,

Thank you for such a prompt response. Forgive me but what do you mean by the output picture must have a 4byte padding? Meaning that anytime Xn converts something to dds it must add a border to the output dds? If so, is there someway to avoid this? Any suggestions would be greatly appreciated! Regardless thanks for a great program, 3 years of using it and this is the first time I have found it necessary to post (ie normally it does exactly what i need!)

Cheers,

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

Re: defunct jpg -> DDS conversion

Post by xnview »

The width/height must be a power of 2 (current implementation of dds writing)
Pierre.
Post Reply