applied (a modified version of) gimp-timecop-20001213-17. Delayed update

2000-12-19  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/exchange.c: applied (a modified version of)
        gimp-timecop-20001213-17. Delayed update for the sliders and
        and a "click preview to pick color" function.
This commit is contained in:
Sven Neumann 2000-12-19 12:54:34 +00:00 committed by Sven Neumann
parent d75c6435e0
commit a9cb4498bf
3 changed files with 216 additions and 91 deletions

View File

@ -1,3 +1,9 @@
2000-12-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/exchange.c: applied (a modified version of)
gimp-timecop-20001213-17. Delayed update for the sliders and
and a "click preview to pick color" function.
2000-12-19 Sven Neumann <sven@gimp.org>
* app/gimpbrushpipe.c (gimp_brush_pipe_load): set the spacing and

View File

@ -24,6 +24,15 @@
* totally useless on others).
*
* Author: robert@experimental.net
*
* Added ability to select "from" color by clicking on the preview image.
* As a side effect, clicking twice on the same spot reverses the action,
* i.e. you can click once, see the result, and click again to revert.
*
* Also changed update policies for all sliders to delayed. On a slow machine
* the algorithm really chewes up CPU time.
*
* - timecop@japan.co.jp
*/
#include "config.h"
@ -63,7 +72,7 @@ static void run (gchar *name,
static void exchange (void);
static void real_exchange (gint, gint, gint, gint, gboolean);
static int doDialog (void);
static int exchange_dialog (void);
static void update_preview (void);
static void ok_callback (GtkWidget *, gpointer);
static void color_button_callback (GtkWidget *, gpointer);
@ -156,14 +165,17 @@ run (gchar *name,
gimp_drawable_mask_bounds (drw->id, &sel_x1, &sel_y1, &sel_x2, &sel_y2);
sel_width = sel_x2 - sel_x1;
sel_height = sel_y2 - sel_y1;
if (sel_width > PREVIEW_SIZE)
prev_width = PREVIEW_SIZE;
else
prev_width = sel_width;
if (sel_height > PREVIEW_SIZE)
prev_height = PREVIEW_SIZE;
else
prev_height = sel_height;
has_alpha = gimp_drawable_has_alpha (drw->id);
switch (runmode)
@ -176,7 +188,7 @@ run (gchar *name,
gimp_palette_get_foreground (&xargs.fromred,
&xargs.fromgreen,
&xargs.fromblue);
if (!doDialog ())
if (! exchange_dialog ())
return;
break;
@ -212,6 +224,7 @@ run (gchar *name,
xargs.blue_threshold = param[11].data.d_int32;
}
break;
default:
break;
}
@ -247,9 +260,68 @@ exchange (void)
real_exchange (-1, -1, -1, -1, FALSE);
}
static gboolean
preview_event_handler (GtkWidget *widget,
GdkEvent *event)
{
gint x;
gint y;
gint pos;
guchar *buf;
guint red_handler = 0;
guint green_handler = 0;
guint blue_handler = 0;
GtkAdjustment *r, *g, *b;
buf = GTK_PREVIEW (widget)->buffer;
switch(event->type)
{
case GDK_BUTTON_PRESS:
x = event->button.x;
y = event->button.y;
pos = x * GTK_PREVIEW(widget)->bpp + y * GTK_PREVIEW(widget)->rowstride;
xargs.fromred = buf[pos];
xargs.fromgreen = buf[pos + 1];
xargs.fromblue = buf[pos + 2];
r = gtk_object_get_data (GTK_OBJECT (from_colorbutton), "red");
g = gtk_object_get_data (GTK_OBJECT (from_colorbutton), "green");
b = gtk_object_get_data (GTK_OBJECT (from_colorbutton), "blue");
red_handler = GPOINTER_TO_UINT (gtk_object_get_data (GTK_OBJECT (r),
"handler"));
green_handler = GPOINTER_TO_UINT (gtk_object_get_data (GTK_OBJECT (g),
"handler"));
blue_handler = GPOINTER_TO_UINT (gtk_object_get_data (GTK_OBJECT (b),
"handler"));
gtk_signal_handler_block (GTK_OBJECT (r), red_handler);
gtk_signal_handler_block (GTK_OBJECT (g), green_handler);
gtk_signal_handler_block (GTK_OBJECT (b), blue_handler);
gtk_adjustment_set_value (GTK_ADJUSTMENT (r), xargs.fromred);
gtk_adjustment_set_value (GTK_ADJUSTMENT (g), xargs.fromgreen);
gtk_adjustment_set_value (GTK_ADJUSTMENT (b), xargs.fromblue);
gtk_signal_handler_unblock (GTK_OBJECT (r), red_handler);
gtk_signal_handler_unblock (GTK_OBJECT (g), green_handler);
gtk_signal_handler_unblock (GTK_OBJECT (b), blue_handler);
gimp_color_button_update(GIMP_COLOR_BUTTON(from_colorbutton));
update_preview();
break;
default:
break;
}
return FALSE;
}
/* show our dialog */
static gint
doDialog (void)
exchange_dialog (void)
{
GtkWidget *dialog;
GtkWidget *mainbox;
@ -259,10 +331,11 @@ doDialog (void)
GtkWidget *table;
GtkWidget *colorbutton;
GtkObject *adj;
GtkWidget *scale;
GtkObject *red_threshold = NULL;
GtkObject *green_threshold = NULL;
GtkObject *blue_threshold = NULL;
gint framenumber;
gint framenumber;
gimp_ui_init ("exchange", TRUE);
@ -293,7 +366,7 @@ doDialog (void)
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), mainbox,
TRUE, TRUE, 0);
frame = gtk_frame_new (_("Preview"));
frame = gtk_frame_new (_("Preview: Click Inside to Pick \"From Color\""));
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (mainbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
@ -311,8 +384,13 @@ doDialog (void)
preview = gtk_preview_new (GTK_PREVIEW_COLOR);
gtk_preview_size (GTK_PREVIEW (preview), prev_width, prev_height);
gtk_container_add (GTK_CONTAINER (pframe), preview);
gtk_widget_set_events (GTK_WIDGET(preview),
GDK_BUTTON_PRESS_MASK | GDK_BUTTON1_MOTION_MASK);
gtk_signal_connect (GTK_OBJECT (preview), "event",
GTK_SIGNAL_FUNC (preview_event_handler),
NULL);
update_preview ();
gtk_widget_show (preview);
gtk_widget_show (preview);
/* and our scales */
for (framenumber = 0; framenumber < 2; framenumber++)
@ -356,12 +434,18 @@ doDialog (void)
0, 255, 1, 8, 0,
TRUE, 0, 0,
NULL, NULL);
gtk_object_set_user_data (GTK_OBJECT (adj), colorbutton);
gtk_object_set_data (GTK_OBJECT (colorbutton), "red", adj);
id = gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (scale_callback),
framenumber ? &xargs.tored : &xargs.fromred);
gtk_object_set_data (GTK_OBJECT (adj), "handler", (gpointer) id);
gtk_object_set_data (GTK_OBJECT (adj), "handler",
GUINT_TO_POINTER (id));
scale = GTK_WIDGET (GIMP_SCALE_ENTRY_SCALE (adj));
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
if (! framenumber)
{
@ -372,10 +456,15 @@ doDialog (void)
0, 255, 1, 8, 0,
TRUE, 0, 0,
NULL, NULL);
id = gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (scale_callback),
&xargs.red_threshold);
gtk_object_set_data (GTK_OBJECT (adj), "handler", (gpointer) id);
gtk_object_set_data (GTK_OBJECT (adj), "handler",
GUINT_TO_POINTER (id));
scale = GTK_WIDGET (GIMP_SCALE_ENTRY_SCALE (adj));
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
}
adj = gimp_scale_entry_new (GTK_TABLE (table), 0, framenumber ? 2 : 3,
@ -384,12 +473,18 @@ doDialog (void)
0, 255, 1, 8, 0,
TRUE, 0, 0,
NULL, NULL);
gtk_object_set_user_data (GTK_OBJECT (adj), colorbutton);
gtk_object_set_data (GTK_OBJECT (colorbutton), "green", adj);
id = gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (scale_callback),
framenumber ? &xargs.togreen : &xargs.fromgreen);
gtk_object_set_data (GTK_OBJECT (adj), "handler", (gpointer) id);
gtk_object_set_data (GTK_OBJECT (adj), "handler",
GUINT_TO_POINTER (id));
scale = GTK_WIDGET (GIMP_SCALE_ENTRY_SCALE (adj));
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
if (! framenumber)
{
@ -400,11 +495,17 @@ doDialog (void)
0, 255, 1, 8, 0,
TRUE, 0, 0,
NULL, NULL);
gtk_object_set_user_data (GTK_OBJECT (adj), red_threshold);
id = gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (scale_callback),
&xargs.green_threshold);
gtk_object_set_data (GTK_OBJECT (adj), "handler", (gpointer) id);
gtk_object_set_data (GTK_OBJECT (adj), "handler",
GUINT_TO_POINTER (id));
scale = GTK_WIDGET (GIMP_SCALE_ENTRY_SCALE (adj));
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
}
adj = gimp_scale_entry_new (GTK_TABLE (table), 0, framenumber ? 3 : 5,
@ -413,12 +514,18 @@ doDialog (void)
0, 255, 1, 8, 0,
TRUE, 0, 0,
NULL, NULL);
gtk_object_set_user_data (GTK_OBJECT (adj), colorbutton);
gtk_object_set_data (GTK_OBJECT (colorbutton), "blue", adj);
id = gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (scale_callback),
framenumber ? &xargs.toblue : &xargs.fromblue);
gtk_object_set_data (GTK_OBJECT (adj), "handler", (gpointer) id);
gtk_object_set_data (GTK_OBJECT (adj), "handler",
GUINT_TO_POINTER (id));
scale = GTK_WIDGET (GIMP_SCALE_ENTRY_SCALE (adj));
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
if (! framenumber)
{
@ -429,13 +536,19 @@ doDialog (void)
0, 255, 1, 8, 0,
TRUE, 0, 0,
NULL, NULL);
gtk_object_set_user_data (GTK_OBJECT (adj), green_threshold);
id = gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (scale_callback),
&xargs.blue_threshold);
gtk_object_set_data (GTK_OBJECT (adj), "handler", (gpointer) id);
gtk_object_set_data (GTK_OBJECT (adj), "handler",
GUINT_TO_POINTER (id));
gtk_object_set_user_data (GTK_OBJECT (red_threshold), blue_threshold);
scale = GTK_WIDGET (GIMP_SCALE_ENTRY_SCALE (adj));
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
gtk_object_set_user_data (GTK_OBJECT (red_threshold),
blue_threshold);
}
if (! framenumber)
@ -445,7 +558,8 @@ doDialog (void)
button = gtk_check_button_new_with_label (_("Lock Thresholds"));
gtk_table_attach (GTK_TABLE (table), button, 1, 3, 7, 8,
GTK_FILL, 0, 0, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), lock_threshold);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
lock_threshold);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
GTK_SIGNAL_FUNC (gimp_toggle_button_update),
&lock_threshold);
@ -488,12 +602,12 @@ color_button_callback (GtkWidget *widget,
green_adj = (GtkObject *) gtk_object_get_data (GTK_OBJECT (widget), "green");
blue_adj = (GtkObject *) gtk_object_get_data (GTK_OBJECT (widget), "blue");
red_handler = (guint) gtk_object_get_data (GTK_OBJECT (red_adj),
"handler");
green_handler = (guint) gtk_object_get_data (GTK_OBJECT (green_adj),
"handler");
blue_handler = (guint) gtk_object_get_data (GTK_OBJECT (blue_adj),
"handler");
red_handler = GPOINTER_TO_UINT (gtk_object_get_data (GTK_OBJECT (red_adj),
"handler"));
green_handler = GPOINTER_TO_UINT (gtk_object_get_data (GTK_OBJECT (green_adj),
"handler"));
blue_handler = GPOINTER_TO_UINT (gtk_object_get_data (GTK_OBJECT (blue_adj),
"handler"));
gtk_signal_handler_block (GTK_OBJECT (red_adj), red_handler);
gtk_signal_handler_block (GTK_OBJECT (green_adj), green_handler);
@ -540,7 +654,8 @@ scale_callback (GtkAdjustment *adj,
{
for (i = 0; i < 2; i++)
{
handler = (guint) gtk_object_get_data (GTK_OBJECT (object), "handler");
handler = GPOINTER_TO_UINT (gtk_object_get_data (GTK_OBJECT (object),
"handler"));
gtk_signal_handler_block (GTK_OBJECT (object), handler);
gtk_adjustment_set_value (GTK_ADJUSTMENT (object), adj->value);
gtk_signal_handler_unblock (GTK_OBJECT (object), handler);
@ -560,7 +675,7 @@ update_preview (void)
sel_x1 + prev_width, sel_y1 + prev_height,
TRUE);
gtk_widget_draw (preview, NULL);
gtk_widget_queue_draw (preview);
gdk_flush ();
}
@ -597,10 +712,6 @@ real_exchange (gint x1,
else
dest_row = g_new (guchar, drw->width * bpp);
/* initialize the pixel regions */
/*
gimp_pixel_rgn_init (&srcPR, drw, x1, y1, width, height, FALSE, FALSE);
*/
gimp_pixel_rgn_init (&srcPR, drw, 0, 0, drw->width, drw->height, FALSE, FALSE);
if (! do_preview)
@ -681,8 +792,9 @@ real_exchange (gint x1,
dest_row[idx + rest] = src_row[x * bpp + rest];
}
/* store the dest */
if (do_preview)
if (do_preview) {
gtk_preview_draw_row (GTK_PREVIEW (preview), dest_row, 0, y - y1, width);
}
else
gimp_pixel_rgn_set_row (&destPR, dest_row, 0, y, drw->width);
/* and tell the user what we're doing */

View File

@ -8,8 +8,8 @@
msgid ""
msgstr ""
"Project-Id-Version: GIMP 1.1.30\n"
"POT-Creation-Date: 2000-12-18 22:20+0100\n"
"PO-Revision-Date: 2000-12-18 22:26+01:00\n"
"POT-Creation-Date: 2000-12-19 13:50+0100\n"
"PO-Revision-Date: 2000-12-19 13:47+01:00\n"
"Last-Translator: Sven Neumann <sven@gimp.org>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
@ -46,13 +46,13 @@ msgstr "
#: plug-ins/common/despeckle.c:620 plug-ins/common/destripe.c:550
#: plug-ins/common/diffraction.c:534 plug-ins/common/displace.c:298
#: plug-ins/common/edge.c:650 plug-ins/common/emboss.c:522
#: plug-ins/common/engrave.c:224 plug-ins/common/exchange.c:279
#: plug-ins/common/engrave.c:224 plug-ins/common/exchange.c:352
#: plug-ins/common/film.c:1182 plug-ins/common/flarefx.c:332
#: plug-ins/common/fractaltrace.c:725 plug-ins/common/gauss_iir.c:366
#: plug-ins/common/gauss_iir.c:449 plug-ins/common/gauss_rle.c:361
#: plug-ins/common/gauss_rle.c:444 plug-ins/common/gbr.c:568
#: plug-ins/common/gicon.c:441 plug-ins/common/gif.c:1147
#: plug-ins/common/gif.c:1218 plug-ins/common/gih.c:844
#: plug-ins/common/gif.c:1218 plug-ins/common/gih.c:854
#: plug-ins/common/glasstile.c:260 plug-ins/common/gqbist.c:640
#: plug-ins/common/grid.c:659 plug-ins/common/gtm.c:375
#: plug-ins/common/hot.c:589 plug-ins/common/illusion.c:561
@ -63,7 +63,7 @@ msgstr "
#: plug-ins/common/newsprint.c:1211 plug-ins/common/nlfilt.c:368
#: plug-ins/common/noisify.c:489 plug-ins/common/nova.c:466
#: plug-ins/common/oilify.c:458 plug-ins/common/papertile.c:250
#: plug-ins/common/pat.c:429 plug-ins/common/pixelize.c:280
#: plug-ins/common/pat.c:455 plug-ins/common/pixelize.c:280
#: plug-ins/common/plasma.c:307 plug-ins/common/png.c:1045
#: plug-ins/common/pnm.c:930 plug-ins/common/polar.c:914
#: plug-ins/common/ps.c:2613 plug-ins/common/ps.c:2795
@ -128,13 +128,13 @@ msgstr "OK"
#: plug-ins/common/destripe.c:552 plug-ins/common/diffraction.c:536
#: plug-ins/common/displace.c:300 plug-ins/common/edge.c:652
#: plug-ins/common/emboss.c:524 plug-ins/common/engrave.c:226
#: plug-ins/common/exchange.c:281 plug-ins/common/film.c:1184
#: plug-ins/common/exchange.c:354 plug-ins/common/film.c:1184
#: plug-ins/common/flarefx.c:334 plug-ins/common/fractaltrace.c:727
#: plug-ins/common/gauss_iir.c:368 plug-ins/common/gauss_iir.c:451
#: plug-ins/common/gauss_rle.c:363 plug-ins/common/gauss_rle.c:446
#: plug-ins/common/gbr.c:570 plug-ins/common/gicon.c:443
#: plug-ins/common/gif.c:1149 plug-ins/common/gif.c:1220
#: plug-ins/common/gih.c:846 plug-ins/common/glasstile.c:262
#: plug-ins/common/gih.c:856 plug-ins/common/glasstile.c:262
#: plug-ins/common/gqbist.c:642 plug-ins/common/grid.c:661
#: plug-ins/common/gtm.c:377 plug-ins/common/hot.c:591
#: plug-ins/common/illusion.c:563 plug-ins/common/iwarp.c:1146
@ -144,7 +144,7 @@ msgstr "OK"
#: plug-ins/common/mblur.c:765 plug-ins/common/newsprint.c:1213
#: plug-ins/common/nlfilt.c:370 plug-ins/common/noisify.c:491
#: plug-ins/common/nova.c:468 plug-ins/common/oilify.c:460
#: plug-ins/common/papertile.c:252 plug-ins/common/pat.c:431
#: plug-ins/common/papertile.c:252 plug-ins/common/pat.c:457
#: plug-ins/common/pixelize.c:282 plug-ins/common/plasma.c:309
#: plug-ins/common/png.c:1047 plug-ins/common/pnm.c:932
#: plug-ins/common/polar.c:916 plug-ins/common/ps.c:2615
@ -197,19 +197,19 @@ msgstr "Abbrechen"
#: plug-ins/MapObject/mapobject_ui.c:1400 plug-ins/common/CML_explorer.c:1202
#: plug-ins/common/blinds.c:343 plug-ins/common/curve_bend.c:1503
#: plug-ins/common/destripe.c:575 plug-ins/common/emboss.c:739
#: plug-ins/common/exchange.c:296 plug-ins/common/fractaltrace.c:746
#: plug-ins/common/glasstile.c:276 plug-ins/common/grid.c:680
#: plug-ins/common/illusion.c:580 plug-ins/common/iwarp.c:1160
#: plug-ins/common/jigsaw.c:2511 plug-ins/common/mapcolor.c:576
#: plug-ins/common/max_rgb.c:364 plug-ins/common/nlfilt.c:587
#: plug-ins/common/noisify.c:506 plug-ins/common/plasma.c:326
#: plug-ins/common/polar.c:935 plug-ins/common/ps.c:2936
#: plug-ins/common/sharpen.c:550 plug-ins/common/sinus.c:2123
#: plug-ins/common/spheredesigner.c:2230 plug-ins/common/tileit.c:407
#: plug-ins/common/waves.c:576 plug-ins/common/whirlpinch.c:826
#: plug-ins/common/wind.c:1031 plug-ins/flame/flame.c:940
#: plug-ins/gfig/gfig.c:3956 plug-ins/gflare/gflare.c:2490
#: plug-ins/gflare/gflare.c:3502 plug-ins/gimpressionist/orientmap.c:502
#: plug-ins/common/fractaltrace.c:746 plug-ins/common/glasstile.c:276
#: plug-ins/common/grid.c:680 plug-ins/common/illusion.c:580
#: plug-ins/common/iwarp.c:1160 plug-ins/common/jigsaw.c:2511
#: plug-ins/common/mapcolor.c:576 plug-ins/common/max_rgb.c:364
#: plug-ins/common/nlfilt.c:587 plug-ins/common/noisify.c:506
#: plug-ins/common/plasma.c:326 plug-ins/common/polar.c:935
#: plug-ins/common/ps.c:2936 plug-ins/common/sharpen.c:550
#: plug-ins/common/sinus.c:2123 plug-ins/common/spheredesigner.c:2230
#: plug-ins/common/tileit.c:407 plug-ins/common/waves.c:576
#: plug-ins/common/whirlpinch.c:826 plug-ins/common/wind.c:1031
#: plug-ins/flame/flame.c:940 plug-ins/gfig/gfig.c:3956
#: plug-ins/gflare/gflare.c:2490 plug-ins/gflare/gflare.c:3502
#: plug-ins/gimpressionist/orientmap.c:502
#: plug-ins/gimpressionist/preview.c:106 plug-ins/gimpressionist/sizemap.c:402
#: plug-ins/ifscompose/ifscompose.c:918
#: plug-ins/imagemap/imap_edit_area_info.c:287
@ -460,7 +460,7 @@ msgstr "Farbdichte"
#: plug-ins/FractalExplorer/Dialogs.c:673 plug-ins/common/AlienMap.c:1439
#: plug-ins/common/compose.c:120 plug-ins/common/compose.c:124
#: plug-ins/common/diffraction.c:600 plug-ins/common/diffraction.c:639
#: plug-ins/common/diffraction.c:678 plug-ins/common/exchange.c:354
#: plug-ins/common/diffraction.c:678 plug-ins/common/exchange.c:432
#: plug-ins/common/noisify.c:588 plug-ins/common/noisify.c:624
#: plug-ins/fp/fp_gtk.c:20
msgid "Red:"
@ -473,7 +473,7 @@ msgstr "
#: plug-ins/FractalExplorer/Dialogs.c:683 plug-ins/common/AlienMap.c:1448
#: plug-ins/common/compose.c:121 plug-ins/common/compose.c:125
#: plug-ins/common/diffraction.c:609 plug-ins/common/diffraction.c:648
#: plug-ins/common/diffraction.c:687 plug-ins/common/exchange.c:382
#: plug-ins/common/diffraction.c:687 plug-ins/common/exchange.c:471
#: plug-ins/common/noisify.c:599 plug-ins/common/noisify.c:635
#: plug-ins/fp/fp_gtk.c:21
msgid "Green:"
@ -486,7 +486,7 @@ msgstr "
#: plug-ins/FractalExplorer/Dialogs.c:693 plug-ins/common/AlienMap.c:1457
#: plug-ins/common/compose.c:122 plug-ins/common/compose.c:126
#: plug-ins/common/diffraction.c:618 plug-ins/common/diffraction.c:657
#: plug-ins/common/diffraction.c:696 plug-ins/common/exchange.c:411
#: plug-ins/common/diffraction.c:696 plug-ins/common/exchange.c:512
#: plug-ins/common/noisify.c:610 plug-ins/common/noisify.c:646
#: plug-ins/fp/fp_gtk.c:22
msgid "Blue:"
@ -1362,11 +1362,12 @@ msgstr "Zeige Vorschau-Drahtgitter"
msgid "Show/hide preview wireframe"
msgstr "Zeige/Verberge Vorschau-Drahtgitter"
#. GimpParasite *pipe_parasite;
#. memory mapped file data
#. must check file size
#: plug-ins/bmp/bmpread.c:51 plug-ins/common/CEL.c:266
#: plug-ins/common/gbr.c:296 plug-ins/common/gifload.c:306
#: plug-ins/common/gih.c:633 plug-ins/common/hrz.c:333
#: plug-ins/common/jpeg.c:739 plug-ins/common/pat.c:261
#: plug-ins/common/gih.c:632 plug-ins/common/hrz.c:333
#: plug-ins/common/jpeg.c:739 plug-ins/common/pat.c:266
#: plug-ins/common/pcx.c:301 plug-ins/common/pix.c:326
#: plug-ins/common/png.c:426 plug-ins/common/png.c:428
#: plug-ins/common/pnm.c:411 plug-ins/common/psd.c:1731
@ -1409,7 +1410,7 @@ msgstr "%s: fehlerhafte Palette"
#: plug-ins/common/decompose.c:465 plug-ins/common/film.c:1002
#: plug-ins/common/gifload.c:849 plug-ins/common/hrz.c:374
#: plug-ins/common/jpeg.c:900 plug-ins/common/lic.c:904
#: plug-ins/common/papertile.c:316 plug-ins/common/pat.c:320
#: plug-ins/common/papertile.c:316 plug-ins/common/pat.c:341
#: plug-ins/common/pcx.c:332 plug-ins/common/pcx.c:338
#: plug-ins/common/pix.c:370 plug-ins/common/png.c:547
#: plug-ins/common/pnm.c:499 plug-ins/common/psd.c:2114
@ -1435,9 +1436,9 @@ msgstr "Kann %s nicht
#. init the progress meter
#: plug-ins/bmp/bmpwrite.c:179 plug-ins/common/CEL.c:510
#: plug-ins/common/gbr.c:489 plug-ins/common/gif.c:943
#: plug-ins/common/gih.c:1208 plug-ins/common/gtm.c:247
#: plug-ins/common/gih.c:1218 plug-ins/common/gtm.c:247
#: plug-ins/common/hrz.c:471 plug-ins/common/jpeg.c:1197
#: plug-ins/common/pat.c:360 plug-ins/common/pcx.c:547
#: plug-ins/common/pat.c:384 plug-ins/common/pcx.c:547
#: plug-ins/common/pix.c:532 plug-ins/common/png.c:775
#: plug-ins/common/png.c:777 plug-ins/common/pnm.c:783
#: plug-ins/common/ps.c:1001 plug-ins/common/sunras.c:524
@ -3421,48 +3422,52 @@ msgstr "Beschr
msgid "Height:"
msgstr "Höhe:"
#: plug-ins/common/exchange.c:125
#: plug-ins/common/exchange.c:134
msgid "<Image>/Filters/Colors/Map/Color Exchange..."
msgstr "<Image>/Filter/Farben/Abbilden/Farben vertauschen..."
#: plug-ins/common/exchange.c:223
#: plug-ins/common/exchange.c:236
msgid "Color Exchange..."
msgstr "Farben vertauschen..."
#. set up the dialog
#: plug-ins/common/exchange.c:274
#: plug-ins/common/exchange.c:347
msgid "Color Exchange"
msgstr "Farben vertauschen"
#: plug-ins/common/exchange.c:322
#: plug-ins/common/exchange.c:369
msgid "Preview: Click Inside to Pick \"From Color\""
msgstr "Vorschau: Klicken um Quellfarbe zu wählen"
#: plug-ins/common/exchange.c:400
msgid "To Color"
msgstr "Zielfarbe"
#: plug-ins/common/exchange.c:322
#: plug-ins/common/exchange.c:400
msgid "From Color"
msgstr "Quellfarbe"
#: plug-ins/common/exchange.c:335
#: plug-ins/common/exchange.c:413
msgid "Color Exchange: To Color"
msgstr "Farben vertauschen: Zielfarbe"
#: plug-ins/common/exchange.c:336
#: plug-ins/common/exchange.c:414
msgid "Color Exchange: From Color"
msgstr "Farben vertauschen: Quellfarbe"
#: plug-ins/common/exchange.c:370
#: plug-ins/common/exchange.c:454
msgid "Red Threshold:"
msgstr "Schwellwert Rot:"
#: plug-ins/common/exchange.c:398
#: plug-ins/common/exchange.c:493
msgid "Green Threshold:"
msgstr "Schwellwert Grün:"
#: plug-ins/common/exchange.c:427
#: plug-ins/common/exchange.c:534
msgid "Blue Threshold:"
msgstr "Schwellwert Blau:"
#: plug-ins/common/exchange.c:445
#: plug-ins/common/exchange.c:558
msgid "Lock Thresholds"
msgstr "Schwellwerte gleich"
@ -3700,8 +3705,8 @@ msgstr "RLE Gau
msgid "Error in GIMP brush file \"%s\"."
msgstr "Fehler in GIMP Pinseldatei \"%s\"."
#: plug-ins/common/gbr.c:355 plug-ins/common/gih.c:489
#: plug-ins/common/gih.c:1112
#: plug-ins/common/gbr.c:355 plug-ins/common/gih.c:488
#: plug-ins/common/gih.c:1122
msgid "Unnamed"
msgstr "Unbenannt"
@ -3709,7 +3714,7 @@ msgstr "Unbenannt"
msgid "GIMP brushes are either GRAYSCALE or RGBA\n"
msgstr "GIMP Pinsel sind entweder Graustufen oder RGBA Bilder\n"
#: plug-ins/common/gbr.c:502 plug-ins/common/gih.c:1216
#: plug-ins/common/gbr.c:502 plug-ins/common/gih.c:1226
#, c-format
msgid "Unable to open %s"
msgstr "Kann %s nicht öffnen"
@ -3722,8 +3727,8 @@ msgstr "Speichere als Pinsel"
msgid "Spacing:"
msgstr "Abstand:"
#: plug-ins/common/gbr.c:599 plug-ins/common/gih.c:882
#: plug-ins/common/pat.c:452 plug-ins/gimpressionist/presets.c:373
#: plug-ins/common/gbr.c:599 plug-ins/common/gih.c:892
#: plug-ins/common/pat.c:478 plug-ins/gimpressionist/presets.c:373
#: plug-ins/imagemap/imap_settings.c:93
msgid "Description:"
msgstr "Beschreibung:"
@ -3741,7 +3746,9 @@ msgstr "** Viel Spass mit GIMP **"
msgid ""
"A less-obsolete creation of Adam D. Moss / adam@gimp.org / adam@foxbox.org / "
"1998-2000"
msgstr "A less-obsolete creation of Adam D. Moss / adam@gimp.org / adam@foxbox.org / 1998-2000"
msgstr ""
"A less-obsolete creation of Adam D. Moss / adam@gimp.org / adam@foxbox.org / "
"1998-2000"
#: plug-ins/common/gicon.c:436
msgid "Save as GIcon"
@ -3856,67 +3863,67 @@ msgstr "GIF speichern: Der Kommentar ist zu lang\n"
msgid "Layer %s doesn't have an alpha channel, skipped"
msgstr "Ebene %s hat keinen Alpha-Kanal, ignoriert"
#: plug-ins/common/gih.c:482
#: plug-ins/common/gih.c:481
msgid "Error in GIMP brush pipe file."
msgstr "Fehler in der GIMP Pinselanimation"
#: plug-ins/common/gih.c:548
#: plug-ins/common/gih.c:547
msgid "GIMP brush file appears to be corrupted."
msgstr "GIMP Pinseldatei scheint nicht vollständig zu sein."
#: plug-ins/common/gih.c:690
#: plug-ins/common/gih.c:689
msgid "Couldn't load one brush in the pipe, giving up."
msgstr "Konnte einen Pinsel aus der Animation nicht laden, gebe auf."
#: plug-ins/common/gih.c:839
#: plug-ins/common/gih.c:849
msgid "Save as Brush Pipe"
msgstr "Speichern als Pinselanimation"
#: plug-ins/common/gih.c:869
#: plug-ins/common/gih.c:879
msgid "Spacing (Percent):"
msgstr "Abstand (Prozent):"
#: plug-ins/common/gih.c:931
#: plug-ins/common/gih.c:941
msgid "Pixels"
msgstr "Pixel"
#: plug-ins/common/gih.c:936 plug-ins/common/newsprint.c:1274
#: plug-ins/common/gih.c:946 plug-ins/common/newsprint.c:1274
msgid "Cell Size:"
msgstr "Zellgrösse:"
#: plug-ins/common/gih.c:948
#: plug-ins/common/gih.c:958
msgid "Number of Cells:"
msgstr "Anzahl der Zellen:"
#: plug-ins/common/gih.c:972
#: plug-ins/common/gih.c:982
msgid " Rows of "
msgstr " Reihen von "
#: plug-ins/common/gih.c:984
#: plug-ins/common/gih.c:994
msgid " Columns on each Layer"
msgstr " Spalten auf jeder Ebene"
#: plug-ins/common/gih.c:988
#: plug-ins/common/gih.c:998
msgid " (Width Mismatch!) "
msgstr " (Breite passt nicht!) "
#: plug-ins/common/gih.c:992
#: plug-ins/common/gih.c:1002
msgid " (Height Mismatch!) "
msgstr " (Höhe passt nicht!)"
#: plug-ins/common/gih.c:997
#: plug-ins/common/gih.c:1007
msgid "Display as:"
msgstr "Anzeigen als:"
#: plug-ins/common/gih.c:1006
#: plug-ins/common/gih.c:1016
msgid "Dimension:"
msgstr "Dimension:"
#: plug-ins/common/gih.c:1041
#: plug-ins/common/gih.c:1051
msgid "Ranks:"
msgstr "Rang:"
#: plug-ins/common/gih.c:1074
#: plug-ins/common/gih.c:1084
msgid "Selection:"
msgstr "Auswahl:"
@ -4975,7 +4982,7 @@ msgstr "31. September 1999"
msgid "<Image>/Filters/Map/Paper Tile..."
msgstr "<Image>/Filter/Abbilden/Papierschnipsel..."
#: plug-ins/common/pat.c:424
#: plug-ins/common/pat.c:450
msgid "Save as Pattern"
msgstr "Als Mustern sichern"