? psd_save
? psd_save.c
Index: csource.c
===================================================================
RCS file: /cvs/gnome/gimp/plug-ins/common/csource.c,v
retrieving revision 1.21.2.2
diff -u -r1.21.2.2 csource.c
--- csource.c	15 Jan 2003 03:16:08 -0000	1.21.2.2
+++ csource.c	11 May 2003 18:17:37 -0000
@@ -33,8 +33,6 @@
 #include "libgimp/stdplugins-intl.h"
 
 
-#define DEFAULT_COMMENT "Created with The GIMP"
-
 typedef struct
 {
   gchar    *file_name;
@@ -166,8 +164,10 @@
 	}
       x = config.comment;
 
+      /* If there is no comment set, the default comment is an 
+       * empty string */
       if (!config.comment)
-	config.comment = g_strdup (DEFAULT_COMMENT);     
+	config.comment = g_strdup ("");     
 
       gimp_ui_init ("csource", FALSE);
       export = gimp_export_image (&image_ID, &drawable_ID, "C Source", 
Index: jpeg.c
===================================================================
RCS file: /cvs/gnome/gimp/plug-ins/common/jpeg.c,v
retrieving revision 1.51.2.6
diff -u -r1.51.2.6 jpeg.c
--- jpeg.c	5 Feb 2003 19:53:55 -0000	1.51.2.6
+++ jpeg.c	11 May 2003 18:17:38 -0000
@@ -161,8 +161,6 @@
 #define DEFAULT_DCT         0
 #define DEFAULT_PREVIEW     1
 
-#define DEFAULT_COMMENT     "Created with The GIMP"
-
 /* sg - these should not be global... */
 static gint32 volatile  image_ID_global       = -1;
 static gint32           orig_image_ID_global  = -1;
@@ -436,8 +434,10 @@
 	  gimp_parasite_free (parasite);
 	}
 #endif /* GIMP_HAVE_PARASITES */
+      /* If the image has no comment defined, the default comment is 
+       * an empty string. */
       if (!image_comment) 
-	image_comment = g_strdup (DEFAULT_COMMENT);
+	image_comment = g_strdup ("");
 
       jsvals.quality     = DEFAULT_QUALITY;
       jsvals.smoothing   = DEFAULT_SMOOTHING;
Index: tiff.c
===================================================================
RCS file: /cvs/gnome/gimp/plug-ins/common/tiff.c,v
retrieving revision 1.53.2.5
diff -u -r1.53.2.5 tiff.c
--- tiff.c	15 Jan 2003 03:16:09 -0000	1.53.2.5
+++ tiff.c	11 May 2003 18:17:39 -0000
@@ -151,8 +151,6 @@
 static void   comment_entry_callback (GtkWidget *widget,
 				      gpointer   data);
 
-#define DEFAULT_COMMENT "Created with The GIMP"
-
 GimpPlugInInfo PLUG_IN_INFO =
 {
   NULL,  /* init_proc  */
@@ -286,7 +284,7 @@
       drawable = param[2].data.d_int32;
 
       /* Do this right this time, if POSSIBLE query for parasites, otherwise
-	 or if there isn't one, choose the DEFAULT_COMMENT */
+	 or if there isn't one, set the comment to an empty string */
 
       /*  eventually export the image */ 
       switch (run_mode)
@@ -317,8 +315,9 @@
       gimp_parasite_free (parasite);
 #endif /* GIMP_HAVE_PARASITES */
 
+      /* If there is no comment set, set an empty string. */
       if (!image_comment)
-	image_comment = g_strdup (DEFAULT_COMMENT);	  
+	image_comment = g_strdup ("");	  
 
       switch (run_mode)
 	{
@@ -777,6 +776,7 @@
       cols= MIN(imageWidth - x, tileWidth);
       rows= MIN(imageLength - y, tileLength);
       if (bps == 16) {
+        g_message("WARNING: The GIMP does not support 16 bits per channel. Truncating data to 8 bits per channel.");
         read_16bit(buffer, channel, photomet, y, x, rows, cols, alpha,
                    extra, tileWidth - cols);
       } else if (bps == 8) {
@@ -824,6 +824,7 @@
       for (i = 0; i < rows; ++i)
 	TIFFReadScanline(tif, buffer + i * lineSize, y + i, 0);
       if (bps == 16) {
+          g_message("WARNING: The GIMP does not support 16 bits per channel. Truncating data to 8 bits per channel.");
 	read_16bit(buffer, channel, photomet, y, 0, rows, cols,
                    alpha, extra, 0);
       } else if (bps == 8) {
