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.
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.
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.
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
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
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.
$ cv convert photo.pnm photo.dds$ cv convert photo.pnm photo.ddsQuestions.What people ask about PNM to DDS.
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.