Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/imlib2_tools
Dir : e17/apps/imlib2_tools/src
Modified Files:
config.h.in convert.c
Log Message:
1. configure.in/ac link to imlib2 properly when testing forit.
2. convert just made images red.. somehow colorize was hardcoded to set the
red channel to full red.. and that's it. it did nothing else useful. disabled
it now :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/imlib2_tools/src/config.h.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- config.h.in 6 Nov 2001 22:18:59 -0000 1.2
+++ config.h.in 4 Sep 2003 00:25:30 -0000 1.3
@@ -1,4 +1,4 @@
-/* src/config.h.in. Generated automatically from configure.in by autoheader 2.13. */
+/* src/config.h.in. Generated automatically from configure.in by autoheader. */
/* Define to empty if the keyword does not work. */
#undef const
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/imlib2_tools/src/convert.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- convert.c 30 Jul 2002 02:56:42 -0000 1.4
+++ convert.c 4 Sep 2003 00:25:30 -0000 1.5
@@ -1538,7 +1538,7 @@
static Imlib_Image image_colourise(Imlib_Image image,
const char *colourise, const char *fill)
{
- int r = 255;
+ int r = 0;
int g = 0;
int b = 0;
int rr;
@@ -1720,9 +1720,9 @@
fprintf(stderr, "Could not convert image to monochrome\n");
return(-1);
}
-
+#if 0 /* this just makes the image red.. well now it doesnt.. */
image = image_colourise(image, NULL, NULL);
-
+#endif
/* save the image */
imlib_save_image(opt->dest);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs