JPG to DDS Converter

Turn a JPG into a DDS texture file in your browser, with default settings.

or drop files here

JP

JPG Format

JPEG image

A photographic raster format commonly stored with lossy compression.

  • Opaque photographic images
  • Also uses .jpeg
  • Existing compression artifacts remain in decoded pixels
DD

DDS Format

DirectDraw Surface

A texture container used for Direct3D image resources.

  • Several texture encodings
  • Can contain mipmaps
  • May require renderer-specific settings

How to convert JPG to DDS

Follow these steps to convert JPG to DDS online.

    1

    Choose your JPG file, or several at once.

    2

    Wait while the converter turns each file into DDS.

    3

    Download each new DDS file. Your original file isn't changed.

What to know before converting JPG to DDS

  • ImageMagick writes the DDS with its defaults. The page sets no compression format and no mipmap option.
  • A game or engine may document its own compression and mipmap requirements, which this page does not choose.
  • The JPG's pixels pass through 8-bit RGBA, and its EXIF, ICC and XMP data are dropped.
  • The page does not resize the picture.
  • Choose several JPG files and each gives its own DDS.

About JPG and DDS files

What is a JPG file?

JPEG, the lossy picture format spelled JPG or JPEG, grew out of a 1986 start by the Joint Photographic Experts Group, and it was standardized as ITU-T T.81 in 1992 and ISO/IEC 10918-1 in 1994. Baseline coding divides a picture into 8x8 blocks, applies a discrete cosine transform and uses Huffman coding on the result.

Digital cameras and scanners build JPG in, and every major browser shows it. It keeps 8 bits per color channel but no transparency or layers, and both .jpg and .jpeg are the same format. A progressive mode displays a coarse version of the picture first and sharpens it as more data loads. The quality scale runs 0 to 100, and GIMP starts at 85. The compression marks of a JPG remain after any conversion.

Programs that open JPG files

Windows

  • ImageMagick: can read a JPG.

Mac

  • GIMP: imports JPEG into an editor.

Web

  • Google Chrome: displays JPG pictures in browser content.

Mobile

  • Safari: displays JPG pictures.

JPG and DDS compared

  • Extensions and media types: .jpg and image/jpeg; .dds is Microsoft's DirectDraw Surface texture format.
  • Compression: a JPG is always lossy. A DDS can hold uncompressed pixels or compressed texture data.
  • Mipmaps: a DDS can include a mipmap chain beside its largest surface. A JPG is a single picture.
  • Other surfaces: DDS can hold cube maps and volume textures, and Direct3D 10 and 11 add texture arrays through an extra header.
  • Transparency: a JPG has no alpha channel. A DDS pixel format can carry an alpha mask.
  • Headers: the DX10 extension is rejected by some DDS readers, while legacy RGB and DXT1 to DXT5 headers work with more tools.
  • Pixel formats: formats that the original header structure cannot express can be described by the DX10 header.
  • Pitch: incorrect pitch information can corrupt how a reader interprets scan lines.
  • Validity: an ordinary DDS needs at least 128 bytes of header, or 148 with the DX10 extension, so a cut-off file is invalid.
  • Metadata: a JPG may carry EXIF, ICC and XMP, which the page drops.

What changes in this conversion is the container. The browser decodes the JPG to 8-bit pixels, and ImageMagick writes them out as a DDS with its default settings. The page does not choose a compression format, build mipmaps or resize. A DDS can hold either uncompressed pixels or compressed texture data, so two valid DDS files from the same picture can differ widely in size and in how an engine reads them.

That is fine for a quick test or for a tool that reads a plain DDS and does the rest itself. It is not enough when a game or engine documents exact requirements. For those, texconv and GIMP let you set the format and mipmaps. Test one converted file in your engine before you convert a whole set.

Select several JPG files and the page processes them one after another, with each result downloaded as its own DDS and no ZIP.

Other ways to convert JPG to DDS

  • texconv (DirectXTex): Microsoft's example is texconv -pow2 -f BC1_UNORM cat.jpg. It fits the texture to power-of-two sizes through -pow2, and by default it generates all mipmaps; add -m 1 to remove them. The default output type is DDS.
  • GIMP: load the JPG, pick File > Export As, choose DDS, then set Compression and Mipmaps in the export dialog. The DDS exporter is built into GIMP from 2.10.10 on.
  • ImageMagick (command line): run magick input.jpg output.dds. ImageMagick's formats page lists DDS as readable and writable, with compression defines such as dxt1 and dxt5 and mipmaps; check the result against your engine.

Problems with JPG files

  • No transparency to use: a JPG stores no alpha, so create the alpha channel in an editor before you export a texture.
  • Progressive files trip some viewers: some old photo frames cannot show progressive JPEG, so turn progressive mode off when you export.
  • Quality settings are not comparable: editors that share a quality number can still differ in compression and appearance.
  • Layers are not stored: a JPG keeps no editable layer stack, so keep your layered project file.
  • Soft or blocky color edges: JPG compression damaged them before the conversion, and a bigger or cleaner source helps.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert a JPG to DDS?

Which DDS compression does this use?

Does the DDS include mipmaps?

Does the page resize to power-of-two dimensions?

Which tools let me choose DDS compression and mipmaps?

Why would I turn a JPG into a DDS?

Does converting JPG to DDS improve the image?

Can a DDS be made from a JPG with transparency?

Is the DDS readable by every game?

Can I convert a DDS back to a JPG?