This is a plugin for GIMP version 2.4.x. It allows you to load and save images in DirectDraw Surface (DDS) format.
It is based on the plugin written by Arne Reuter found here.
Features
Load/save DDS files, optionally using DirectX texture compression (DXT)
Optional automatic mipmap generation when saving
Load mipmaps into separate layers
Load cube map faces and volume map slices into separate layers
Save cube maps and volume maps with automatic mipmap generation support
Save image with a custom pixel format
Non-power-of-two image loading and saving support with automatic mipmap generation support
Added YCoCg scaled compressed format. This format adds the
extensions described in the NVIDIA/iD paper
for greater color precision. Use the normal YCoCg format for images that
need high quality compression, at the loss of some color precision, but with
the alpha channel stored in the blue component. Otherwise, use the YCoCg
scaled format for the highest quality.
GIMP 2.4 support! GIMP 2.4 is now the only supported GIMP version.
For previous versions of the GIMP, please use the 1.2.1 release.
Completely re-written DXT compression backend. Now uses 100% software
compression without the need for an external library. This also removes the
dependence on OpenGL and GLEW. The quality is very decent with the default
settings, but a new advanced settings area in the save dialog allows you to
tweak some parameters to the DXT compressor to fine-tune your image.
Added DirectX 10 compressed format support.
Added two new compressed format options using DXT5 compression. One
stores the image in YCoCg colorspace as described in this paper. The other
stores a shared exponent in the alpha channel for added color precision.
The benefit of the shared exponent version over the YCoCg version is that
only one instruction is required in a fragment shader to decode (color.rgb
*= color.a), great for when your instruction budget is low. Otherwise, the
YCoCg format is superiour in quality, but more expensive to decode in a
shader.
Added option to save dialog that allows you to specify the
transparent color index when saving paletted images
1.2 (2006-09-18)
Added support for loading/saving 3Dc compressed images. This feature
can be used even on systems with video cards that do not support this format
in hardware.
Added optional support for software compression. Requires
libtxc_dxtn.so on Linux or dxtn.dll on Windows
1.0.3 (2006-08-15)
Added proper support for 8-bit paletted images. They are now loaded
into GIMP indexed mode images. Writing support has also been added with
mipmap generation. Indexed cube maps and volume maps are also supported
Removed requirement for the GL_SGIS_generate_mipmap extension
Removed the "DDSD_PITCH or DDSD_LINEARSIZE not set" warning
message
Fixed non-power-of-two volume map writing and mipmap generation
1.0.2 (2006-07-26)
Added support for reading 8-bit paletted images. This was previously causing a segfault. Thanks to Jason for pointing this out.
Added a warning when the pixel format of an image cannot be determined
1.0.1 (2005-12-30)
Fixed a bug when saving uncompressed images. Some pixel formats were
being written incorrectly, and the plugin couldn't read them as a result.
1.0 (2005-09-16)
Added support to save cube and volume maps. To save a cube map, have
6 layers all the same size and format, and use special strings inside the
layer name to identify what cube face the layer is to the plugin. These
strings are (and you can use any of them): "positive x", "negative x",
"positive y", "negative y", "positive z", "negative z", "pos x", "neg x",
"pos y", "neg y", "pos z", "neg z", "+x", "-x", "+y", "-y", "+z" and "-z".
To save a volume map, you need an image with more than one layer, and all
the same size and format. Currently compression is not supported for volume
maps.
Added support to load and save non-power-of-two sized images with
automatic mipmap generation support.
Added support to save images with a custom pixel format
Added support to load images with custom pixel formats
Added better detection of image properties when loading. You should
now be able to open just about any DDS image
Cleaned up non-interactive plugin interface for GIMP scripting
Fixed many, many bugs
0.4 (2005-03-30)
Fixed a bug that was causing an assertion failure in gimp_drawable_get
0.3 (2004-10-22)
Added feature to swap red and alpha channels on save.
This is useful for saving normal maps in DXT5 compressed format to
preserve more quality.
Fixed a minor issue in reading support
0.2 (2004-10-14)
Added saving support
Various code cleanups
0.1 (2004-10-12)
Initial import of Arne's code
Screenshot
Version 2.0
Contact
Be sure to include the phrase "gimp-dds" somewhere in the subject line, so my mail client can filter the mail properly. Otherwise
I cannot guarantee I will receive your message. If you would like to provide binaries for the Mac OS X version of GIMP
for me to distribute here, that would be MUCH appreciated :)