Commit 87e1ea55 authored by Dave Neary's avatar Dave Neary Committed by David Neary
Browse files

Removed duplicate TIFF entry from save dialog, and made the save handler


2004-01-28  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/tiff.c: Removed duplicate TIFF entry from save
        dialog, and made the save handler point to the one that doesn't
        pre-multiply by alpha. Reported on gimp-user by misfit-x. Also
        changed default value to not destroy data on save.
parent a0b7d6d5
2004-01-28 Dave Neary <bolsh@gimp.org>
* plug-ins/common/tiff.c: Removed duplicate TIFF entry from save
dialog, and made the save handler point to the one that doesn't
pre-multiply by alpha. Reported on gimp-user by misfit-x. Also
changed default value to not destroy data on save.
2004-01-28 Pedro Gimeno <pggimeno@wanadoo.es> 2004-01-28 Pedro Gimeno <pggimeno@wanadoo.es>
   
* plug-ins/script-fu/scripts/grid-system.scm: Fix typo that prevented * plug-ins/script-fu/scripts/grid-system.scm: Fix typo that prevented
...@@ -159,7 +159,7 @@ GimpPlugInInfo PLUG_IN_INFO = ...@@ -159,7 +159,7 @@ GimpPlugInInfo PLUG_IN_INFO =
static TiffSaveVals tsvals = static TiffSaveVals tsvals =
{ {
COMPRESSION_NONE, /* compression */ COMPRESSION_NONE, /* compression */
FALSE, /* alpha handling */ TRUE, /* alpha handling */
}; };
...@@ -229,6 +229,8 @@ query (void) ...@@ -229,6 +229,8 @@ query (void)
G_N_ELEMENTS (save_args_old), 0, G_N_ELEMENTS (save_args_old), 0,
save_args_old, NULL); save_args_old, NULL);
/* Add a save menu path for this procedure, since it is registered as a
* save handler below. */
gimp_install_procedure ("file_tiff_save2", gimp_install_procedure ("file_tiff_save2",
"saves files in the tiff file format", "saves files in the tiff file format",
"Saves files in the Tagged Image File Format. " "Saves files in the Tagged Image File Format. "
...@@ -237,7 +239,7 @@ query (void) ...@@ -237,7 +239,7 @@ query (void)
"Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis",
"1995-1996,2000-2003", "1995-1996,2000-2003",
"<Save>/Tiff", NULL,
"RGB*, GRAY*, INDEXED", "RGB*, GRAY*, INDEXED",
GIMP_PLUGIN, GIMP_PLUGIN,
G_N_ELEMENTS (save_args), 0, G_N_ELEMENTS (save_args), 0,
...@@ -370,7 +372,7 @@ run (const gchar *name, ...@@ -370,7 +372,7 @@ run (const gchar *name,
if (nparams == 7) if (nparams == 7)
tsvals.save_transp_pixels = param[6].data.d_int32; tsvals.save_transp_pixels = param[6].data.d_int32;
else else
tsvals.save_transp_pixels = FALSE; tsvals.save_transp_pixels = TRUE;
} }
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment