summaryrefslogtreecommitdiffstats
path: root/plug-ins/file-ico/ico-save.h
diff options
context:
space:
mode:
Diffstat (limited to 'plug-ins/file-ico/ico-save.h')
-rw-r--r--plug-ins/file-ico/ico-save.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/plug-ins/file-ico/ico-save.h b/plug-ins/file-ico/ico-save.h
new file mode 100644
index 0000000..46d6ff5
--- /dev/null
+++ b/plug-ins/file-ico/ico-save.h
@@ -0,0 +1,34 @@
+/* GIMP - The GNU Image Manipulation Program
+ * Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
+ *
+ * GIMP Plug-in for Windows Icon files.
+ * Copyright (C) 2002 Christian Kreibich <christian@whoop.org>.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#ifndef __ICO_SAVE_H__
+#define __ICO_SAVE_H__
+
+
+GimpPDBStatusType ico_save_image (const gchar *file_name,
+ gint32 image_ID,
+ gint32 run_mode,
+ GError **error);
+
+gboolean ico_cmap_contains_black (const guchar *cmap,
+ gint num_colors);
+
+
+#endif /* __ICO_SAVE_H__ */