Page 1 of 1

defunct jpg -> DDS conversion

Posted: Fri Jun 10, 2011 6:49 pm
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

Re: defunct jpg -> DDS conversion

Posted: Sat Jun 11, 2011 3:17 am
by xnview
The output picture must be 4bytes padding...

Re: defunct jpg -> DDS conversion

Posted: Sat Jun 11, 2011 5:44 am
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

Re: defunct jpg -> DDS conversion

Posted: Mon Jun 13, 2011 9:05 am
by xnview
The width/height must be a power of 2 (current implementation of dds writing)