aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-10 16:43:06 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-10 17:02:34 +0200
commitee14af5bf4e8b85ea4a45be697e233b3d456e5bf (patch)
tree8aca6ba31086a7adced344ad1515db2006a3224b
parent180a72b15bcde19f2a81e46a1adec1bca2cc72e4 (diff)
downloadgimp-plugin-img-ee14af5bf4e8b85ea4a45be697e233b3d456e5bf.tar.gz
Remove test
-rw-r--r--img-save.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/img-save.c b/img-save.c
index 5251741..a94ae4b 100644
--- a/img-save.c
+++ b/img-save.c
@@ -281,41 +281,6 @@ img_save_image (gint32 image, const ImageParasite * plugin,
gint i, width, height;
FileHeader hdr;
-#if 0
- ImageParasite test;
- GError *terr = NULL;
-
- img_read_options (&test, "RGB", "(23,45,6)", &terr);
- if (NULL != terr)
- {
- printf ("%s\n", terr->message);
- g_error_free (terr);
- }
- img_read_options (&test, "RGBA", "0x999", &terr);
- if (NULL != terr)
- {
- printf ("%s\n", terr->message);
- g_error_free (terr);
- }
- img_read_options (&test, "0", "0x321", &terr);
- if (NULL != terr)
- {
- printf ("%s\n", terr->message);
- g_error_free (terr);
- }
- img_read_options (&test, "2", "0xFFFFFF", &terr);
- if (NULL != terr)
- {
- printf ("%s\n", terr->message);
- g_error_free (terr);
- }
- img_read_options (&test, "RGB", "(0,1;0,7;0,346)", &terr);
- if (NULL != terr)
- {
- printf ("%s\n", terr->message);
- g_error_free (terr);
- }
-#endif
/*
* Should call sanity_check() for all secure checks
*/