Search code examples
imageimagemagickimagemagick-convertdds-format

How to convert PNG to uncompressed DDS in Linux?


Based on wiki DDS could be compressed and uncompressed. Now I'm trying to figure out how to achive converting png to dds without compression.

Regular converting could be achived with
convert file.png out.dds


Solution

  • It looks like you found a missing feature in ImageMagick. This is now only supported:

    convert file.png -define dds:compression=none out.dds

    But the following should work:

    convert file.png -compress none out.dds

    I just pushed a patch to the ImageMagick repository to add support for the -compress option that will be available in the next release.