mirror of https://github.com/GNOME/gimp.git
6ad54ca3a3
Resolves #10069 Currently, the DDS header information for the width, height, and bytes per scan line are read in and assumed to be correct. As these values are used for memory allocation and reading, it would be good to verify they do not exceed the file size. This patch adds a condition after the header is read in to verify those values. If they exceed the file size (mins an offset), the file is not read in and an error message is shown. |
||
---|---|---|
.. | ||
COPYING | ||
LICENSE | ||
LICENSE.nvtt | ||
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