Microsoft DirectDraw Surface (DDS) Reader/Writer

FME Format Type Identifier

DDS

Reader/Writer

Both

Typical File Extensions

.dds

FME can read and write DDS raster data and textures.

A DDS (Microsoft DirectDraw Surface) file is a raster image saved in the DDS container format. DDS is a Microsoft format for storing data compressed with an S3 Texture Compression (S3TC) algorithm.

DDS files are often used to store textures.

DDS files store compressed and uncompressed pixel formats. Since files are compressed in the graphics card memory, they can be decompressed on-the-fly by the hardware. The files use lossy compression, which means you will lose detail and color information compared to the original texture.

DDS files are represented as three 8-bit bands (RGB) or four 8-bit bands (RGBA). RGB/A support depends on compression type of the source DDS file.

Writer options exist to control the compression method and quality of the output DDS files – this impacts both writing performance and file size.

DDS Product and System Requirements

Format

FME Platform

Operating System

Reader/Writer

FME Form

FME Flow

FME Flow Hosted

Windows 64-bit

Linux

Mac

Reader

Yes

Yes

Yes

Yes

Yes

Yes

Writer

Yes

Yes

Yes

Yes

Yes

Yes

Reader Overview

FME considers a single DDS file to be a dataset.

The DDS file contains pixel data, and each pixel in the file is a point in a single FME raster feature.

Note  When reading a DDS file with DXT1/DXT1A compression, it is interpreted as RGB.

Writer Overview

FME considers a writer dataset to be a folder name. The DDS writer distinguishes duplicate output files by appending numbers to the filenames.

Writer-Level Format Parameters

The DDS writer supports additional options through the Microsoft DirectDraw Surface (DDS) Writer Feature Type Parameters

FME Raster Features

FME raster features represent raster data and use several concepts that are unlike those used in the handling of vector data.

For comprehensive information about how FME processes raster data, see Rasters.

DDS supports rasters with Red8, Green8, Blue8 bands, with an optional Alpha8 band. (Note that RGB/A support depends on compression type of the source DDS file.)

DDS files can only be created with square pixel dimensions.