gimp/plug-ins/file-dds
Jehan 38c2cd3b15 app, libgimp, pdb, plug-ins: new GimpCoreObjectArray type and drawablearray…
… PDB type.

This is a first step for #7369. Clearly our GimpObjectArray was meant to
be used with C arrays, hence the wrapper function
gimp_value_set_object_array() which was taking a C array and actually
creating and setting a GimpObjectArray.

This is why our new type is actually a C array aliased as a boxed type
and containing its own size (thanks to NULL-termination).

Eventually GimpCoreObjectArray is meant to replace GimpObjectArray.

The only issue is that such a type does not allow NULL as a valid
element in such an array, but fact is that I don't think we currently
have any use case where this matters. If ever such a case arise in the
future, we may introduce back GimpObjectArray.

In this first commit, I replaced all itemarray PDB types with a new
drawablearray using this new boxed type when relevant.
2024-10-25 23:28:42 +02:00
..
COPYING file-dds: add original source code of the DDS plug-in 2019-01-02 18:33:46 +01:00
LICENSE file-dds: add original source code of the DDS plug-in 2019-01-02 18:33:46 +01:00
LICENSE.nvtt file-dds: add original source code of the DDS plug-in 2019-01-02 18:33:46 +01:00
README file-dds: add original source code of the DDS plug-in 2019-01-02 18:33:46 +01:00
README.dxt Fix various typos 2019-09-21 17:10:46 +00:00
TODO file-dds: add original source code of the DDS plug-in 2019-01-02 18:33:46 +01:00
dds.c app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
dds.h plug-ins: Update dds.h and add known format codes 2023-12-13 03:30:48 +00:00
ddsread.c plug-ins: get rid of all remaining usage of gimp_image_[gs]et_colormap(). 2024-09-23 18:20:14 +02:00
ddsread.h ddsread and ddswrite cleanup and commenting 2023-12-01 20:42:16 +00:00
ddswrite.c app, libgimp, pdb, plug-ins: new GimpCoreObjectArray type and drawablearray… 2024-10-25 23:28:42 +02:00
ddswrite.h plug-ins: port dds-write to GimpProcedureDialog. 2023-10-26 17:16:49 +00:00
dxt.c Always interpret BC1 cutout pixels as black 2023-12-01 20:42:16 +00:00
dxt.h plug-ins: big formatting and indentation cleanup in file-dds 2019-05-23 14:34:00 +02:00
dxt_tables.h plug-ins: big formatting and indentation cleanup in file-dds 2019-05-23 14:34:00 +02:00
endian_rw.h plug-ins: big formatting and indentation cleanup in file-dds 2019-05-23 14:34:00 +02:00
formats.c plug-ins: DDS import rewrite 2023-12-13 03:30:48 +00:00
formats.h plug-ins: DDS import rewrite 2023-12-13 03:30:48 +00:00
imath.h plug-ins: big formatting and indentation cleanup in file-dds 2019-05-23 14:34:00 +02:00
meson.build meson: on macOS temporarily update rpath to find libraries of non-installed GIMP. 2024-04-16 17:43:15 +00:00
mipmap.c Consolidate YCoCg/AlphaExp code, always decode 2023-12-01 20:42:16 +00:00
mipmap.h Mipmap generation fixes and cleanup 2023-12-01 20:42:16 +00:00
misc.c plug-ins: mark DDS progress strings as translatable 2024-04-10 15:30:00 +00:00
misc.h Consolidate YCoCg/AlphaExp code, always decode 2023-12-01 20:42:16 +00:00
vec.h plug-ins: big formatting and indentation cleanup in file-dds 2019-05-23 14:34:00 +02:00

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