Re: [Gimp-user] Anyway to add multiple Guides at once

2009-05-29 Thread D.Jones (aka) Capnhud




-
, DJ wrote:


 Didn't see it in the manual, but was wondering if there is a
 short-cut to adding multiple Guides at once (ie., a comma-separated list)?

It seems difficult to imagine anything faster than the Gimp-python
console for this:


image = gimp.image_list()[0] # get the latest loaded image

for y in (10,20,60,80, 120, 140, 260, 280):
pdb.gimp_image_add_vguide (image, y)


It should be possible to make a Script-Fu which accepts a list of
coordinates (space separated) and does something similar to the loop
above.
However, I don't know how; I only know how to implement that in Python:

# assuming 'coords' is the string parameter containing space-separated
coordinates
realcoords = [int(v) for v in coords.split()]
for y in realcoords:
pdb.gimp_image_add_vguide (image, y)

Adding an option to choose between adding h and v guides should also be easy.


David
There is a gimp plugin called multiple guides (python) and appears to be in 
german but it  will allow you to add multiple guides. I tried to access the 
link but it seems that gimpl plugin registry is down at the moment.


--


  
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Can't install the Gimp

2009-05-29 Thread Jernej Simončič
On Thu, 28 May 2009 18:22:39 -0500, Chris Mohler wrote:

 Oh - and I'm also assuming that you are _not_ using Windows XP
 Professional x64 Edition - you need the 'x64' version of the installer
 instead if you are.

No, you don't. The Windows x64 version of GIMP is experimental, and doesn't
have all the features of 32bit version (which runs just fine on 64bit
Windows).

-- 
 Jernej Simončič  http://eternallybored.org/ 

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Anyway to add multiple Guides at once?

2009-05-29 Thread Niels Giesen
latest added image in script-fu is

(vector-ref (cadr (gimp-image-list)) 0)

so  a one-off would be

(map
 (lambda (guide)
   (gimp-image-add-hguide (vector-ref (cadr (gimp-image-list)) 0) guide))
 '(10 230))

I do not know how to get the /active/ image though

... but here's a script

http://niels.kicks-ass.org/public/gimp/script-fu-add-guides.scm


On Wed, May 27, 2009 at 12:09 PM, David Gowers 00a...@gmail.com wrote:
 On Wed, May 27, 2009 at 1:04 PM, DJ delphit...@yahoo.com wrote:
 Hi Gimp-user,

 Didn't see it in the manual, but was wondering if there is a
 short-cut to adding multiple Guides at once (ie., a comma-separated list)?

 It seems difficult to imagine anything faster than the Gimp-python
 console for this:


 image = gimp.image_list()[0] # get the latest loaded image

 for y in (10,20,60,80, 120, 140, 260, 280):
    pdb.gimp_image_add_vguide (image, y)


 It should be possible to make a Script-Fu which accepts a list of
 coordinates (space separated) and does something similar to the loop
 above.
 However, I don't know how; I only know how to implement that in Python:

 # assuming 'coords' is the string parameter containing space-separated
 coordinates
 realcoords = [int(v) for v in coords.split()]
 for y in realcoords:
    pdb.gimp_image_add_vguide (image, y)

 Adding an option to choose between adding h and v guides should also be easy.


 David
 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user




-- 
http://niels.kicks-ass.org
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Green Stripes On Tools?

2009-05-29 Thread STINGER wibblywobblyteapot.co.uk
Hi,

I've googled and googled but I can't find a cure for my misconfiguration
of GIMP (?) Can somebody help me?

If I use the paths tool and drag to move I get a horrible green mess of
breadcrumbs where the tool has been. I also get this on any other tools
when moving around. I've tried it on two different machines now (both
running Ubuntu) and I can't stop it.

Probably easier to show some pictures of what I am getting;

http://62.233.82.168/images/gimpmess2.png
http://62.233.82.168/images/gimpmess1.png

If anyone can tell me the setting I've missed to stop this messy
behaviour I would be very grateful. Thanks (and be gentle). I'm trying
to learn this after years of working with Paint Shop Pro and it's tough
going...

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Green Stripes On Tools?

2009-05-29 Thread Martin Nordholts
STINGER wibblywobblyteapot.co.uk wrote:
 If I use the paths tool and drag to move I get a horrible green mess of
 breadcrumbs where the tool has been.

Looks like http://bugzilla.gnome.org/show_bug.cgi?id=421466

The cause is a driver problem, the workaround is to add

  (xor-color (color-rgb 1.0 1.0 1.0))

to your gimprc

 / Martin

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Green Stripes On Tools?

2009-05-29 Thread Rikard Johnels
On Friday 29 May 2009 17:48, STINGER wibblywobblyteapot.co.uk wrote:
 Hi,

 I've googled and googled but I can't find a cure for my misconfiguration
 of GIMP (?) Can somebody help me?

 If I use the paths tool and drag to move I get a horrible green mess of
 breadcrumbs where the tool has been. I also get this on any other tools
 when moving around. I've tried it on two different machines now (both
 running Ubuntu) and I can't stop it.

 Probably easier to show some pictures of what I am getting;

 http://62.233.82.168/images/gimpmess2.png
 http://62.233.82.168/images/gimpmess1.png

 If anyone can tell me the setting I've missed to stop this messy
 behaviour I would be very grateful. Thanks (and be gentle). I'm trying
 to learn this after years of working with Paint Shop Pro and it's tough
 going...

 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Looks like a driver error to me.
What card/driver do you use?

-- 

/Rikard Johnels


pgpHRDA516lMv.pgp
Description: PGP signature
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Green Stripes On Tools?

2009-05-29 Thread Michael J. Hammel
On Fri, 2009-05-29 at 16:48 +0100, STINGER wibblywobblyteapot.co.uk
wrote:
 If I use the paths tool and drag to move I get a horrible green mess of
 breadcrumbs where the tool has been. I also get this on any other tools
 when moving around. I've tried it on two different machines now (both
 running Ubuntu) and I can't stop it.

I've seen this before though its been awhile.  I'm pretty sure it comes
from GIMPs interaction with particular X drivers, but I can't remember
if it was nVidia or Intel.  I think it was nVidia.  If you have an
nVidia card, there are two drivers: the open source nouveau and the
nVidia provided nvidia.  Whichever driver you're using, try switching
to the other driver and see if that helps.

Oh wait, you're using Ubuntu.  Don't know if nVidia's driver is
available in .deb packaging.  I use Fedora and there are RPMs for it.
Guess you'll just have to dig around for it.

You can also try disabling 3D acceleration to see if that helps.  Some
of the 3D driver support caused problems on intel graphics chips for
awhile.  I disable all 3D fluff on my systems since I don't play games
and don't really need it anywhere else.

Sorry I can't be more helpful.  I just don't remember what I did that
cleared the problem.
-- 
Michael J. HammelPrincipal Software Engineer
mjham...@graphics-muse.org   http://graphics-muse.org
--
Bumper Sticker: Don't like my driving? Then quit watching me.

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Green Stripes On Tools?

2009-05-29 Thread Akkana Peck
STINGER wibblywobblyteapot.co.uk writes:
 If I use the paths tool and drag to move I get a horrible green mess of
 breadcrumbs where the tool has been. I also get this on any other tools
 when moving around. I've tried it on two different machines now (both
 running Ubuntu) and I can't stop it.

Do the green lines go away if you redraw the window? (For example,
cover it with another window then uncover it.) Do the two machines
have similar video cards?  

Artifacts like that are usually bugs in the video driver. I see
them sometimes with ATI graphics cards, especially older Radeons.
They usually seem to come from drawing with an XOR operation ...
apparently some video drivers, especially the ati/radeon driver,
can't handle that quite right. (It may be the hardware not handling
it right -- looking at bugzilla it looks like the problem happens
with ATI cards on Windows as well.)

Here's a bugzilla bug that discussed the problem, some time back,
with lots of duplicates, some of which have screenshots that look
a lot like yours:
http://bugzilla.gnome.org/show_bug.cgi?id=421466

A comment in that bug suggests adding the following line to your
gimprc file (located in your gimp profile, ~/.gimp-2.6/gimprc):

 (xor-color (color-rgb 1.0 1.0 1.0))

Try that and see if it helps.

Good luck!

...Akkana
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Green Stripes On Tools?

2009-05-29 Thread STINGER wibblywobblyteapot.co.uk
On Fri, 2009-05-29 at 17:58 +0200, Martin Nordholts wrote:
 STINGER wibblywobblyteapot.co.uk wrote:
  If I use the paths tool and drag to move I get a horrible green mess of
  breadcrumbs where the tool has been.
 
 Looks like http://bugzilla.gnome.org/show_bug.cgi?id=421466
 
 The cause is a driver problem, the workaround is to add
 
   (xor-color (color-rgb 1.0 1.0 1.0))
 
 to your gimprc
 
  / Martin
 
 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Thanks for the heads up. Yep, it's that Radion Driver. I'll try the
tweak.. Thanks for both responses. Really appreciated. 

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Green Stripes On Tools?

2009-05-29 Thread STINGER wibblywobblyteapot.co.uk
On Fri, 2009-05-29 at 17:15 +0100, STINGER wibblywobblyteapot.co.uk
wrote:
 On Fri, 2009-05-29 at 17:58 +0200, Martin Nordholts wrote:
  STINGER wibblywobblyteapot.co.uk wrote:
   If I use the paths tool and drag to move I get a horrible green mess of
   breadcrumbs where the tool has been.
  
  Looks like http://bugzilla.gnome.org/show_bug.cgi?id=421466
  
  The cause is a driver problem, the workaround is to add
  
(xor-color (color-rgb 1.0 1.0 1.0))
  
  to your gimprc
  
   / Martin
  
  ___
  Gimp-user mailing list
  Gimp-user@lists.XCF.Berkeley.EDU
  https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
 
 Thanks for the heads up. Yep, it's that Radion Driver. I'll try the
 tweak.. Thanks for both responses. Really appreciated. 
 
 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Thanks all - the tweak for the broken Ubuntu Radion Driver has worked
nicely. No longer do I have the green mess. In case anyone reads this in
the google archives the flaw is a faulty Radion Driver in Ubuntu 8.x and
before. Not sure if it is still an issue in 9.04.

The workaround is to add this line:
(xor-color (color-rgb 1.0 1.0 1.0))


To this file;
/etc/gimp/2.0/gimprc

It is already commented too (doh!)
# Sets the color that is used for XOR drawing. This setting only exists
as a
# workaround for buggy display drivers. If lines on the canvas are not
# correctly undrawn, try to set this to white.  The color is specified
in the
# form (color-rgb red green blue) with channel values as floats in the
range
# of 0.0 to 1.0.


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Can't install the Gimp

2009-05-29 Thread Chris Mohler
2009/5/29 Jernej Simončič jernej.listso...@ena.si:
 On Thu, 28 May 2009 18:22:39 -0500, Chris Mohler wrote:

 Oh - and I'm also assuming that you are _not_ using Windows XP
 Professional x64 Edition - you need the 'x64' version of the installer
 instead if you are.

 No, you don't. The Windows x64 version of GIMP is experimental, and doesn't
 have all the features of 32bit version (which runs just fine on 64bit
 Windows).

My fault.   I hardly ever install on windows - sorry about the misinformation.

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Green Stripes On Tools?

2009-05-29 Thread STINGER wibblywobblyteapot.co.uk
On Fri, 2009-05-29 at 09:14 -0700, Akkana Peck wrote:
 STINGER wibblywobblyteapot.co.uk writes:
  If I use the paths tool and drag to move I get a horrible green mess of
  breadcrumbs where the tool has been. I also get this on any other tools
  when moving around. I've tried it on two different machines now (both
  running Ubuntu) and I can't stop it.
 
 Do the green lines go away if you redraw the window? (For example,
 cover it with another window then uncover it.) Do the two machines
 have similar video cards?  
 
 Artifacts like that are usually bugs in the video driver. I see
 them sometimes with ATI graphics cards, especially older Radeons.
 They usually seem to come from drawing with an XOR operation ...
 apparently some video drivers, especially the ati/radeon driver,
 can't handle that quite right. (It may be the hardware not handling
 it right -- looking at bugzilla it looks like the problem happens
 with ATI cards on Windows as well.)
 
 Here's a bugzilla bug that discussed the problem, some time back,
 with lots of duplicates, some of which have screenshots that look
 a lot like yours:
 http://bugzilla.gnome.org/show_bug.cgi?id=421466
 
 A comment in that bug suggests adding the following line to your
 gimprc file (located in your gimp profile, ~/.gimp-2.6/gimprc):
 
  (xor-color (color-rgb 1.0 1.0 1.0))
 
 Try that and see if it helps.
 
 Good luck!
 
   ...Akkana
 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

That's the issue. Solved but thanks for the follow up.

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Copy a layer mask from one layer to another layer?

2009-05-29 Thread DJ
Hi Gimp-user,

Is it possible to copy a layer mask from one layer to another layer?
  
Thank you.

-- 
__ 
DJ   


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Copy a layer mask from one layer to another layer?

2009-05-29 Thread David Gowers
On Sat, May 30, 2009 at 8:13 AM, DJ delphit...@yahoo.com wrote:
 Hi Gimp-user,

 Is it possible to copy a layer mask from one layer to another layer?
Yes, make it so that you are editing the layer mask on both, then
select all and Copy from one and Paste to the other.

David
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Source of images

2009-05-29 Thread DJ
Hi Gimp-user,

If you are looking for images to practice Gimp Techniques (i.e.,
selections) there are some awesome pictures at the US Fish and
Wildlife Service web site. For example:

Start Here: http://images.fws.gov/
On left-hand side, click Or Browse The Library
Scroll to Perching birds;
End Here: 
http://images.fws.gov/default.cfm?fuseaction=records.searchresultssb=Perching%20birds

NASA, NOAA also have some tremendous images. Who doesn't like
birds, fish and planets and stars :-)


-- 
__ 
DJ   


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Copy a layer mask from one layer to another layer?

2009-05-29 Thread DJ
Hi David, gimp-users,

 Is it possible to copy a layer mask from one layer to another layer?
 Yes, make it so that you are editing the layer mask on both, then
 select all and Copy from one and Paste to the other.

I was going to ask, What if the layers are different images?, but I
just tried it, and only the layer mask was copied/pasted.

I just became aware of Edit  Buffer, and I see the layer mask in the
Buffers Dialog too.  Do Gimp users use the Buffer a lot?  I seems like
a nice little work area repository.

I'm trying to think of all the various things I may want to copy.
Paths and Channels comes to mind. I see on the Path Dialog, on the
right-click, there is Copy Path and Paste Path. But there isn't
something similar on the Channels Dialog. I'm still trying to get a
stronger understanding of Paths and Channels, so maybe there wouldn't
be a need to copy/paste a Channel.  But, if there were, how would you
do it?

Thank you.

-- 
__ 
DJ   


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Tool Options and finding a resource

2009-05-29 Thread DJ
Hi Gimp-user,

Whether it's the Font on the Text Tool, or Brush on the Paint Tool, or
Pattern Fill on the Bucket Tool, scrolling through the lists is slow
and sensitive. I tried typing the first letter of font, brush, or
pattern in the list but that doesn't seem to work. I didn't precede it
with any alternate key (shift, ctrl, alt). What is the best (fastest
:-)) way to get to, or position yourself, to the resource?

For example:

Text Tool
Click on Font Icon
The active font is Arial and I want to get to Tahoma.

SuSE Linux.
GIMP 2.6.3

Thank you.

-- 
__ 
DJ   


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Copy a layer mask from one layer to another layer?

2009-05-29 Thread David Gowers
On Sat, May 30, 2009 at 9:01 AM, DJ delphit...@yahoo.com wrote:
 Hi David, gimp-users,

 Is it possible to copy a layer mask from one layer to another layer?
 Yes, make it so that you are editing the layer mask on both, then
 select all and Copy from one and Paste to the other.

 I was going to ask, What if the layers are different images?, but I
 just tried it, and only the layer mask was copied/pasted.

 I just became aware of Edit  Buffer, and I see the layer mask in the
 Buffers Dialog too.  Do Gimp users use the Buffer a lot?  I seems like
 a nice little work area repository.

'the buffer'? Do you mean the Buffers mechanism and dialog (as opposed
to simple Copy/Paste)?

Not that I've ever heard of.
It's nice in theory, I think the need to name buffers impedes the
usability in practice.
A limited amount of numbered buffers that you may *optionally* name
seems more usable to me.


 I'm trying to think of all the various things I may want to copy.
 Paths and Channels comes to mind. I see on the Path Dialog, on the
 right-click, there is Copy Path and Paste Path. But there isn't
 something similar on the Channels Dialog. I'm still trying to get a
 stronger understanding of Paths and Channels, so maybe there wouldn't
 be a need to copy/paste a Channel.  But, if there were, how would you
 do it?
Just like any other drawable. Make it active (eg click on it in the
channels dialog), Copy, make the one you want to paste to active,
Paste.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Tool Options and finding a resource

2009-05-29 Thread David Gowers
On Sat, May 30, 2009 at 9:14 AM, DJ delphit...@yahoo.com wrote:
 Hi Gimp-user,

 Whether it's the Font on the Text Tool, or Brush on the Paint Tool, or
 Pattern Fill on the Bucket Tool, scrolling through the lists is slow
 and sensitive. I tried typing the first letter of font, brush, or
 pattern in the list but that doesn't seem to work. I didn't precede it
 with any alternate key (shift, ctrl, alt). What is the best (fastest
 :-)) way to get to, or position yourself, to the resource?

Resource tagging is intended to address this problem.
Have you tried it? You can assign tags to any resource using the
bottom input field in the relevant dialog,
and filter by tags using the top input field in the relevant dialog.
(but not currently in the tool-options popup.. you must be using the
full dockable, eg. Gradients, Patterns, Brushes in order to use this.)

It would be great if we could do the normal keyboard-search thing for
resources, I agree!


 For example:

 Text Tool
 Click on Font Icon
 The active font is Arial and I want to get to Tahoma.
... why can't you simply use the scrollbar to get near to the right
place in a matter of 5 seconds?
I can.
I agree that the preview of fonts is comparitively sluggish VS eg.
gradients or patterns.
I think the previews should be calculated in idle time, so that
scrolling and selection can be instant.

David
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user