Convert PNM to DDS

Turn PNM images into DDS. A DirectDraw Surface texture at the same size, block-compressed as games use it.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNM files on the dialor turn it to pick what to do

A game texture from a PNM image.You get a DDS file at the same width and height as your PNM.

  1. What you get

    A DirectDraw Surface texture, the format games use for textures. The result is one file at the same size as the source image.

    The texture is block-compressed, as games use it. The input can be any of the PNM types: PBM, PGM or PPM.

  2. What changes

    Block compression is how DDS textures are stored for games. It changes how the image data is held in the file, so the DDS is not a copy of the PNM's raw pixel data.

    There are no options for this conversion. The size is kept and the compression is fixed.

  3. Going the other way

    To turn a texture back into a PNM image, use DDS to PNM.

PNM and DDS.What each format is.

The formats

From · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images
To · DDS

DirectDraw Surface

DirectDraw Surface textures for games.

Extensions
.dds
MIME type
image/vnd-ms.dds
Kind
Images

In your code.The same PNM to DDS conversion through the API, for your app or your agent.

terminal
$ cv convert photo.pnm photo.dds
$ cv convert photo.pnm photo.dds

Questions.What people ask about PNM to DDS.

01OF 04

PBM, PGM and PPM files all count as PNM. Each one becomes a DDS texture.

Yes. The width and height stay the same.

No. This conversion has no options, and the texture is block-compressed as games use it.

No. The conversion gives you one DDS file.

More conversions.Other ways in and out of PNM and DDS.