Command line - convert jpg to dds

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
izzusan
Posts: 1
Joined: 2015-03-25T02:59:13-07:00
Authentication code: 6789

Command line - convert jpg to dds

Post by izzusan »

Hi all,

which is the correct syntax for to create a dds file from command line?

I try all, but when I open the dds file in photoshop with Nvidia plugin, the file is not dds file.... there isn't a mipmaps image.

Convert -format dds -define dds:mipmaps=5 -define dds:compression=DTX1 image.jpg image.dds

what is wrong?!?

help please - Thank you

-Roberto
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Command line - convert jpg to dds

Post by dlemstra »

Take a look at this topic: viewtopic.php?f=3&t=27161. It has reasons why mipmaps are not written.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply