Skip to content

Commit 4e126c6

Browse files
TheWillardclaude
andcommitted
Port the plug-in to Rust
Replace the C++ plug-in and the arma-file-formats-cxx bridge with a Rust plug-in using the gimp-rs bindings (../gimp-rs) and arma-file-formats directly. - Prefer the PAA loader over GIMP 3.2's own file-paa, which cannot read DXT1 (priority -1, no magics). - Export the merged visible image via the export options, converting gray and indexed images, instead of only the top layer. - Load RGB textures, validate decoded data sizes. - Disable export metadata, PAA cannot store it and GIMP logged an error. - Keep the existing file when an export fails. - Install with gimptool (GIMP 3.2 no longer reads ~/.config/GIMP/3.0). - Add headless GIMP integration tests. - License: GPL-2.0-or-later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4ffe1c5 commit 4e126c6

15 files changed

Lines changed: 2912 additions & 488 deletions

‎.gitignore‎

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1 @@
1-
# C++
2-
3-
# Prerequisites
4-
*.d
5-
6-
# Compiled Object files
7-
*.slo
8-
*.lo
9-
*.o
10-
*.obj
11-
12-
# Precompiled Headers
13-
*.gch
14-
*.pch
15-
16-
# Linker files
17-
*.ilk
18-
19-
# Debugger Files
20-
*.pdb
21-
22-
# Compiled Dynamic libraries
23-
*.so
24-
*.dylib
25-
*.dll
26-
27-
# Fortran module files
28-
*.mod
29-
*.smod
30-
31-
# Compiled Static libraries
32-
*.lai
33-
*.la
34-
*.a
35-
*.lib
36-
37-
# Executables
38-
*.exe
39-
*.out
40-
*.app
41-
42-
# debug information files
43-
*.dwo
44-
45-
# CMake
46-
47-
CMakeLists.txt.user
48-
CMakeCache.txt
49-
CMakeFiles
50-
CMakeScripts
51-
Testing
52-
Makefile
53-
cmake_install.cmake
54-
install_manifest.txt
55-
compile_commands.json
56-
CTestTestfile.cmake
57-
_deps
58-
CMakeUserPresets.json
59-
60-
# Custom
61-
/build
62-
/.vscode
1+
/target

‎.gitmodules‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎CMakeLists.txt‎

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)