+++ /dev/null
-/*
-diff.h
-see the difference!
-29.11.2022
-
-Copyright (C) 2022 Balthasar Szczepański
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-Requires Dev Image Library (libdevil) (http://openil.sourceforge.net/)
-on Pentium III libdevil must be recompiled with
---disable-ssl2 --disable-ssl3
-(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954)
-*/
-
-int subtool_diff (int argc, char **argv, int argi, char **err);
+++ /dev/null
-/*
-info.h
-Get information
-13.11.2022
-
-Copyright (C) 2022 Balthasar Szczepański
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-Requires Dev Image Library (libdevil) (http://openil.sourceforge.net/)
-on Pentium III libdevil must be recompiled with
---disable-ssl2 --disable-ssl3
-(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954)
-*/
-
-int subtool_info (int argc, char **argv, int argi, char **err);
# "makefile" is automatically generated from "makefile.1.mak"
-# 30.11.2022
+# 01.12.2022
#
# Copyright (C) 2022 Balthasar Szczepański
#
$(STANDALONE): %: standalone-%.c %.c %.h core.c core.h $(H_PNG)
$(CC) $(CF) -o $@ standalone-$*.c $*.c core.c $(L_IL)
-$(C_STANDALONE): standalone-%.c: settings-standalone.txt standalone.c
- $(CONFIGURE) subtool=$* settings-standalone.txt --in standalone.c --out $@
+$(C_STANDALONE): standalone-%.c: settings-subtool.txt standalone.c
+ $(CONFIGURE) subtool=$* settings-subtool.txt --in standalone.c --out $@
+
+$(H_SUBTOOL): %.h: settings-subtool.txt subtool.h
+ $(CONFIGURE) subtool=$* settings-subtool.txt --in subtool.h --out $@
$(TO_GENERATE): $(GENERATE_FROM) $(CONFIGFILE)
$(CONFIGURE_CMD) --in $(GENERATE_FROM) --out $(TO_GENERATE)
# $(CC) $(CF) -o test test.c core.c $(LF)
clean:
- $(RM) -f enhance $(C_STANDALONE) $(STANDALONE) $(TO_GENERATE) f2h $(H_PNG)
+ $(RM) -f enhance $(C_STANDALONE) $(STANDALONE) $(TO_GENERATE) f2h $(H_PNG) $(H_SUBTOOL)
PHONY: all clean
# "makefile" is automatically generated from "makefile.1.mak"
-# 30.11.2022
+# 01.12.2022
#
# Copyright (C) 2022 Balthasar Szczepański
#
$(STANDALONE): %: standalone-%.c %.c %.h core.c core.h $(H_PNG)
$(CC) $(CF) -o $@ standalone-$*.c $*.c core.c $(L_IL)
-$(C_STANDALONE): standalone-%.c: settings-standalone.txt standalone.c
- $(CONFIGURE) subtool=$* settings-standalone.txt --in standalone.c --out $@
+$(C_STANDALONE): standalone-%.c: settings-subtool.txt standalone.c
+ $(CONFIGURE) subtool=$* settings-subtool.txt --in standalone.c --out $@
+
+$(H_SUBTOOL): %.h: settings-subtool.txt subtool.h
+ $(CONFIGURE) subtool=$* settings-subtool.txt --in subtool.h --out $@
$(TO_GENERATE): $(GENERATE_FROM) $(CONFIGFILE)
$(CONFIGURE_CMD) --in $(GENERATE_FROM) --out $(TO_GENERATE)
# $(CC) $(CF) -o test test.c core.c $(LF)
clean:
- $(RM) -f enhance $(C_STANDALONE) $(STANDALONE) $(TO_GENERATE) f2h $(H_PNG)
+ $(RM) -f enhance $(C_STANDALONE) $(STANDALONE) $(TO_GENERATE) f2h $(H_PNG) $(H_SUBTOOL)
PHONY: all clean
+++ /dev/null
-/*
-nofading.h
-The tool with multiple enhancements and manipulations of pictures
-13.11.2022
-
-Copyright (C) 2022 Balthasar Szczepański
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-Requires Dev Image Library (libdevil) (http://openil.sourceforge.net/)
-on Pentium III libdevil must be recompiled with
---disable-ssl2 --disable-ssl3
-(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954)
-*/
-
-int subtool_nofading (int argc, char **argv, int argi, char **err);
+++ /dev/null
-/*
-npb.h
-Take a picture and add a newpixbot to it!
-29.11.2022
-
-Copyright (C) 2022 Balthasar Szczepański
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-Requires Dev Image Library (libdevil) (http://openil.sourceforge.net/)
-on Pentium III libdevil must be recompiled with
---disable-ssl2 --disable-ssl3
-(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954)
-*/
-
-int subtool_npb (int argc, char **argv, int argi, char **err);
+++ /dev/null
-/*
-pal_mix.h
-The tool to hide two indexed images iside one
-30.11.2022
-
-Copyright (C) 2022 Balthasar Szczepański
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-Requires Dev Image Library (libdevil) (http://openil.sourceforge.net/)
-on Pentium III libdevil must be recompiled with
---disable-ssl2 --disable-ssl3
-(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954)
-*/
-
-int subtool_pal_mix (int argc, char **argv, int argi, char **err);
+++ /dev/null
-/*
-reveal.h
-reveal hidden details
-13.11.2022
-
-Copyright (C) 2022 Balthasar Szczepański
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
-Requires Dev Image Library (libdevil) (http://openil.sourceforge.net/)
-on Pentium III libdevil must be recompiled with
---disable-ssl2 --disable-ssl3
-(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954)
-*/
-
-int subtool_reveal (int argc, char **argv, int argi, char **err);
-# settings-standalone.txt
-# 12.11.2022
+# settings-subtool.txt
+# 01.12.2022
#
# Copyright (C) 2022 Balthasar Szczepański
#
_C_DEFINE_STR: #define $0 "@_ESCAPE($1)"
_C_INCLUDE_STR: #include "@_ESCAPE($0)"
-C_STANDALONE_INCLUDE = @_C_INCLUDE_STR($subtool\.h)
-C_STANDALONE_SUBTOOL = @_C_DEFINE(SUBTOOL, subtool_$subtool)
+C_INCLUDE = @_C_INCLUDE_STR($subtool\.h)
+C_SUBTOOL = @_C_DEFINE(SUBTOOL, subtool_$subtool)
/*
standalone.c
general main wrapper for the subtools
-12.11.2022
+01.12.2022
Copyright (C) 2022 Balthasar Szczepański
*/
#include "core.h"
-// ###C_STANDALONE_INCLUDE: #include "TOOL_NAME.h"
+// ###C_INCLUDE: #include "TOOL_NAME.h"
-// ###C_STANDALONE_SUBTOOL: #define SUBTOOL "subtool_TOOL_NAME"
+// ###C_SUBTOOL: #define SUBTOOL subtool_TOOL_NAME
int main (int argc, char **argv)
{
/*
-bluenh.h
-ENHANCE the bluepix!
-13.11.2022
+subtool.h
+general header for subtools
+01.12.2022
Copyright (C) 2022 Balthasar Szczepański
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572954)
*/
-int subtool_bluenh (int argc, char **argv, int argi, char **err);
+// ###C_SUBTOOL: #define SUBTOOL subtool_TOOL_NAME
+int SUBTOOL (int argc, char **argv, int argi, char **err);
+#undef SUBTOOL