Re: [Gimp-user] Unable to use 'system' command for script-fu -- Almost done

2007-03-12 Thread saulgoode
Quoting Tony Freeman:

 One last thing that I cannot figure out is:  how do you close the  
 dialog box that the image is sitting in?  In Scheme you do it like so:

 (gimp-display-delete Image)

 I've tried the following (with variations), but it causes the  
 python-fu to hang:

 pdb.gimp_display_delete(img)

To the best of my knowledge, it is impossible for a script to close  
the display unless it was created through PDB calls (i.e., you cannot  
delete an image created or opened by the user).

The PDB function, 'gimp-image-delete', only works with images that  
have been created through the PDB. Since the call to  
'gimp-display-delete' will attempt to delete the image if the display  
you are deleting is the only one associated with the image, you end up  
effectively violating the conditions of 'gimp-image-delete'.

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


[Gimp-user] more than 8 bit/channel

2007-03-12 Thread Fabrizio Lippolis
Hi list,

a basic and simple topic is not so clear to me. Will the next major 
version of Gimp support more than 8 bit per channel? Thank you.

Fabrizio

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


Re: [Gimp-user] Unable to use 'system' command for script-fu

2007-03-12 Thread Bogus
On 10 Mar 2007, [EMAIL PROTECTED] wrote:

 Hi,

 On Sat, 2007-03-10 at 17:48 -0500, Tony Freeman wrote:

 I wonder if someone could help me with this problem I'm having
 using the 'system' command in a scheme file.

 I don't think that the SIOD functions 'system' or 'delete-file' are
 implemented in Script-Fu.


 Sven

Any chance to have (system ...) implemented in 2.4 ???

Many of us would like to call external program (such
as wine neatimage...) from scriptfus when do photo touch-up.

Thanx

-- 
Bogus

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


Re: [Gimp-user] more than 8 bit/channel

2007-03-12 Thread Marco Ciampa
On Mon, Mar 12, 2007 at 04:17:38PM +0100, Fabrizio Lippolis wrote:
 Hi list,
 
 a basic and simple topic is not so clear to me. Will the next major 
 version of Gimp support more than 8 bit per channel? Thank you.
 
 Fabrizio
More that 8 bits channel will come with the GEGL library support in GIMP.
Next (2.4) will be the last (we hope) GIMP version without GEGL so the
answer is no for now and perhaps yes for the next version (2.6? 3.0?) GIMP
version.

ciao

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] more than 8 bit/channel

2007-03-12 Thread Claus Cyrny
Marco Ciampa wrote:
 so the
 answer is no for now and perhaps yes for the next version (2.6? 3.0?) GIMP
 version.

That's why people are switching to other apps like Krita or
CinePaint.

Claus

-- 
Home Page: http://home.arcor.de/ccyrny/ (Photographs)
Blog: http://grafomatic.twoday.net (in German)
Djangology http://home.arcor.de/ccyrny/djangology/ (my Django Reinhardt site; 
in German)


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


[Gimp-user] Cut and paste from specific channels.

2007-03-12 Thread Bill Jackson
I'm migrating from Photoshop and everything I read says what I want  
to do in the GIMP should be easy, but here I am...

I have two images, A and B, which are black and white, from a  
proprietary program but saved as TIFFs. They open as RGB in the GIMP  
2.2 on my Mac, with the image visible in all three channels.

I want to create a final image, C, consisting of image A in the red  
channel and image B in the blue channel, and no image in the green  
channel.

If there's a tutorial or plugin or previous mailing list post please  
give me a pointer and you have my thanks. I just can't find it myself.

If you need more info about my problem here's some. When I copy, cut  
or paste I can't seem to figure out how do so in a channel-specific  
manner. In other words, I deselect two layers from one image and  
copy, then similarly attempt to paste into one channel of the second  
image either through the Selection Editor Menu -- Save to Channel or  
by simple pasting after deselecting two layers. Neither has the  
desired effect of taking one channel's information from image A and  
copying into a single channel of image B. At best the paste goes into  
all three channels of the second image, overwriting the original  
information.

Thanks in advance for your help.

Bill Jackson

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


Re: [Gimp-user] Cut and paste from specific channels.

2007-03-12 Thread Ben Walker
Bill Jackson wrote:
 I'm migrating from Photoshop and everything I read says what I want  
 to do in the GIMP should be easy, but here I am...

 I have two images, A and B, which are black and white, from a  
 proprietary program but saved as TIFFs. They open as RGB in the GIMP  
 2.2 on my Mac, with the image visible in all three channels.

 I want to create a final image, C, consisting of image A in the red  
 channel and image B in the blue channel, and no image in the green  
 channel.

 If there's a tutorial or plugin or previous mailing list post please  
 give me a pointer and you have my thanks. I just can't find it myself.
   
Bill, try this:

1)  Open the images representing each channel.
2)  Convert these images to grayscale mode (as any given single channel 
could be represented as a grayscale image.)
3)  If necessary, open a third image/layer as a blank one, since you 
wanted nothing in the green channel. (a blank image such as this must be 
black and also in greyscale mode)
4)  Perform the compose function found in colorscomponents and 
choose the layers for the appropriate channels

Does that achieve the desired result?

Ben W.

Note: I don't know what the compose function requires, i.e. if all 
layers have to be the same size, etc..  I'm sure the user manual 
addresses that.



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


Re: [Gimp-user] Cut and paste from specific channels.

2007-03-12 Thread Bill Jackson
Ben's answer was exactly what I was looking for.  Thanks!

For the sake of the archives I'll slightly modify his answer for  
other new users like myself to follow in the future:

PROBLEM:

 I have two images, A and B, which are black and white, from a
 proprietary program but saved as TIFFs. They open as RGB in the GIMP
 2.2 on my Mac, with the image visible in all three channels.

 I want to create a final image, C, consisting of image A in the red
 channel and image B in the blue channel, and no image in the green
 channel.

SOLUTION:

 1)  Open the images representing each channel.
 2)  Convert these images to grayscale mode (as any given single  
 channel
 could be represented as a grayscale image.) (Image -- Mode --  
 Greyscale)
 3)  If necessary, open a third image/layer as a blank one, since you
 wanted nothing in the green channel. (A new blank image such as  
 this must be
 black and also in greyscale mode) To do this: File -- New, then  
 OK. Then Edit -- Fill with FG Color (which should be black).  
 Finally make it greyscale as in #2.
 4)  Perform the compose function found in Filters -- Colors --  
 Compose and
 choose the layers for the appropriate channels.

The compose dialog is straightforward and easy to use, and generates  
a new file with the desired result.

Thanks again, Ben. This is very useful to scientists who have single  
channel images from microscopes.
This way those images are false colored and merged in one step.

Bill Jackson


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


Re: [Gimp-user] Script-Fu error

2007-03-12 Thread Sven Neumann
Hi,

On Mon, 2007-03-12 at 07:20 +0100, Stephan Hegel wrote:

 I've tried Gimp 2.3.15 with the following script:
 http://turtle.as.arizona.edu/jdsmith/exposure-blend.scm
 
 When launching Gimp I get the following error:
 
 script-fu-Warning: Error while executing
 (load /home/steve/.gimp-2.3/scripts/exposure-blend.scm)
 Error: set!: unbound variable: script-fu-exposure-blend-options
 
 The same plug-in behaves just fine in Gimp-2.2. Any hint what's
 wrong and/or how to track this down ?

Since you are using the development version, you should be subscribed to
the gimp-developer mailing-list. We haven't written a decent document
describing the changes in Script-Fu yet, but you can read about them in
the mailing-list archives.


Sven


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


Re: [Gimp-user] Script-Fu error

2007-03-12 Thread Stephan Hegel
Hello Sven,

Sven Neumann wrote:
 Since you are using the development version, you should be subscribed to
 the gimp-developer mailing-list. We haven't written a decent document
 describing the changes in Script-Fu yet, but you can read about them in
 the mailing-list archives.
Thanks for the pointer. I've found the explanation in the mailing list
archive.

However, I do think the problem itself will be a user issue even when I'm a
bit ahead at the moment and have tried the developer version already. When
you release version 2.4 (or a release candidate of it) the problem will pop
up for users: the new Script-Fu interpreter will lead to unexpected error
messages with existing third party scripts.

Any plans how to avoid this ?

Kind regards,
Stephan.

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