mirror of https://github.com/GNOME/gimp.git
dec5ca2219
This proved to be both an import and export issue. Our import set expected format as RGB, causing garbled image output. Our export for indexed images converted to grayscale first, although the palette was correctly saved. This caused wrong palette indexes on import. For indexed images, on import, we request the actual indexed format after creating the layer with gimp_drawable_get_format, which gives us a correct indexed Babl format. Also added logic for indexed with alpha, although I have no sample images to test this. For indexed images on export we do the same: use gimp_drawable_get_format to get an actual indexed Babl format. |
||
---|---|---|
.. | ||
.gitignore | ||
COPYING | ||
LICENSE | ||
LICENSE.nvtt | ||
Makefile.am | ||
README | ||
README.dxt | ||
TODO | ||
color.c | ||
color.h | ||
dds.c | ||
dds.h | ||
ddsread.c | ||
ddsread.h | ||
ddswrite.c | ||
ddswrite.h | ||
dxt.c | ||
dxt.h | ||
dxt_tables.h | ||
endian_rw.h | ||
imath.h | ||
meson.build | ||
mipmap.c | ||
mipmap.h | ||
misc.c | ||
misc.h | ||
vec.h |
README
DDS plugin for The GIMP (C) 2004-2012 Shawn Kirst <skirst@gmail.com>, with parts (C) 2003 Arne Reuter <homepage@arnereuter.de> where specified. ========================================== This is a plugin for GIMP version 2.4.x. It allows you to load and save images in Direct Draw Surface (DDS) format. Features ========================================== * Load/Save DDS files using DXT texture compression * Automatic mipmap generation on save * Load mipmaps into separate layers * Load cube map faces and volume map slices into separate layers * Cube and volume map saving * Pixel conversion selection for custom formats (RGBA4, R5G6B5, RGB10A2, etc.) * 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 * Compliant with DirectX 10 compressed formats Installation ========================================== See the file INSTALL for installation instructions