[Gimp-user] minimize the main toolbox?

2009-11-24 Thread Ryan Krauss
Is it possible to either minimize the toolbox or have an image window
in front of the toolbox.  I am using the GIMP as a digital whiteboard
with a digitizing tablet (Wacom Bamboo) for my lectures.  I would like
to write on an image that fills as much of the screen as possible and
would like the toolbox to be either behind the current image or
minimized.  It is not obvious to me how to make it not be on top.

Thanks,

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


[Gimp-user] Latest version issue...

2009-11-24 Thread Rauh, Stuart
This is more of a technical question.  I hope I'm not off topic.  Apologies in 
advance if I am...

I have several windows XP machines running Gimp 2.6 successfully.  We use a 
custom script to make specific sizes for our web site.  The script runs fine 
with an exception on one machine.

The machine is still running Gimp 2.2.  The scripts run fine under 2.2.  When I 
remove 2.2 and install 2.6 the Gimp runs fine but the script (running fine on 
other 2.6 machines) fails with an error.

I'm wondering if there's an old dll or something that's confusing things since 
the script runs fine on every other machine.  Any suggestions for a solution 
besides simply staying on 2.2?


Stuart Rauh
Director of Internet Operations
stuart.r...@whotv.commailto:stuart.r...@whotv.com
Phone: (515) 242-3537
[cid:image001.gif@01CA6CE5.09407410]
1801 Grand Ave.
Des Moines, IA  50309
www.whotv.comhttp://www.whotv.com


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


Re: [Gimp-user] minimize the main toolbox?

2009-11-24 Thread Olivier Lecarme
Use the TAB key, which toggles visibility of the toolbox and other
dockable dialogs. And use F11 to fill the screen with the image window.
You can even remove the menu bar, scrolling bars, and status bar, and
have an image which really fills the screen.

-- 


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


Re: [Gimp-user] minimize the main toolbox?

2009-11-24 Thread Ryan Krauss
Thanks.  I got several responses - but they are sent to me and not the
list.  I never knew the tab key toggled the visibility of the
toolbox.

Thanks!

Ryan

On Tue, Nov 24, 2009 at 10:31 AM, Olivier Lecarme
o...@olecarme.homelinux.net wrote:
 Use the TAB key, which toggles visibility of the toolbox and other
 dockable dialogs. And use F11 to fill the screen with the image window.
 You can even remove the menu bar, scrolling bars, and status bar, and
 have an image which really fills the screen.

 --


                        Olivier Lecarme

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


Re: [Gimp-user] minimize the main toolbox?

2009-11-24 Thread Martijn Weisbeek
Olivier,

 Use the TAB key, which toggles visibility of the toolbox and other
 dockable dialogs. And use F11 to fill the screen with the image window.
 You can even remove the menu bar, scrolling bars, and status bar, and
 have an image which really fills the screen.

Those are some nifty shortcut keys. That might also explain why
sometimes I have lost my toolbox.
I guess that this has happened after I used the tab key for some
action within GIMP.
Then I might have meant ALT+TAB (to switch windows) instead, but
forgot to press ALT and my toolbox is gone...

Do you know whether there is a list of these key combinations online somewhere ?
I would expect these to be in the GIMP's user manual, but I cannot
seem to find them.
http://docs.gimp.org/en/key-reference.html is as close as I could find.
However, it would be nice when there would be one pages with all of
these useful GIMP commands.

Thanks in advance,

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


[Gimp-user] Script-Fu Exceptions and errors

2009-11-24 Thread Thomas DuBuisson
Hello list,

I am planning on evolving image transformations using an AST of the
script-fu langauge and generating random (but syntatically correct)
scripts.  I would like to avoid programming in hundreds of corner
cases into the system and thus have the following questions:

1) Script-fu throws exceptions

If/when I do something basic like call gimp-image-raise-layer on a
layer that can not be raised, an exception is thrown.  I would very
much like to catch/ignore exceptions such as this but it seems
script-fu is too primitive.  Am I missing something?

2) gimp-layer-new-from-drawable nearly always fails

- CODE --
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE image.png image.png)))
(layer0 (car (gimp-image-get-active-layer image
(let* ((layer1 (car (gimp-image-flatten image
(gimp-layer-set-mode layer1 25)
)   (let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
...
- END CODE --

In the above you see I define layer0 as the active layer (which I
thought was a drawable) but this doesn't work for
gimp-layer-new-from-drawable.  Replacing layer0 with 'image' also
doesn't work and most frustratingly, using 
(gimp-image-get-active-drawable image) also doesn't work - which I
really thought it should based on the documentation.  What does this
function expect?

(I understand gimp-image-flatten somehow screws everything up by
eliminating the layer, but am still not clear how to once-again get a
valid layer from my image)


3) C Assertation failures
Perhaps most concerning are the assertation failures.  Presumably,
these are not supposed to happen.  How concerned should I be?

 START CONSOLE DUMP -
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE image.png 
 image.png)))
(layer0 (car (gimp-image-get-active-layer image
(let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
(gimp-layer-add-alpha layer1)
(gimp-image-merge-down image layer1 2))
(set! layer0 (gimp-image-get-active-layer image))
(let* ((layer1 (car (gimp-image-flatten image
(gimp-layer-set-opacity layer1 21.811554)
(gimp-image-merge-down image layer1 0))
(set! layer0 (gimp-image-get-active-layer image))
(let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
(gimp-layer-flatten layer1)
(gimp-image-merge-down image layer1 0))
(set! layer0 (gimp-image-get-active-layer image))
(let* ((currDraw (car (gimp-image-get-active-layer image
(gimp-file-save RUN-NONINTERACTIVE image currDraw newImage.png
newImage.png ))
)

(gimp-console:2987): Gimp-Core-CRITICAL **: gimp_image_remove_layer:
assertion `gimp_container_have (image-layers, GIMP_OBJECT (layer))'
failed

 END CONSOLE DUMP -


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


[Gimp-user] convert an image into an outline

2009-11-24 Thread Bob Meetin
I have an image roughly 600 px square which in which the picture was 
taken on a white-ish background.  I managed to crop it well enough to 
now have a silhouette of the object, black object on white background.  
Is there a way to convert it to an outline, say with a 1-3 pixel 
border?  It is currently a .png.


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


Re: [Gimp-user] Script-Fu Exceptions and errors

2009-11-24 Thread Thomas DuBuisson
Update:

1) The question regarding exceptions remains - there are too many
corner cases, mostly undocumented, so it would be nice to ignore them
silently.

2) I see my fix was almost right but I forgot to take the head of the list:
(car (gimp-image-get-active-drawable image)) is what I want, not the
no-longer-existing layer0 or the whole list returned by
gimp-image-get-active-{layer,drawable}.

3) I still get things like the message below, so same question.
(gimp-console:2987): Gimp-Core-CRITICAL **: gimp_image_remove_layer:
assertion `gimp_container_have (image-layers, GIMP_OBJECT (layer))'
failed



On Tue, Nov 24, 2009 at 10:05 AM, Thomas DuBuisson
thomas.dubuis...@gmail.com wrote:
 Hello list,

 I am planning on evolving image transformations using an AST of the
 script-fu langauge and generating random (but syntatically correct)
 scripts.  I would like to avoid programming in hundreds of corner
 cases into the system and thus have the following questions:

 1) Script-fu throws exceptions

 If/when I do something basic like call gimp-image-raise-layer on a
 layer that can not be raised, an exception is thrown.  I would very
 much like to catch/ignore exceptions such as this but it seems
 script-fu is too primitive.  Am I missing something?

 2) gimp-layer-new-from-drawable nearly always fails

 - CODE --
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE image.png 
 image.png)))
        (layer0 (car (gimp-image-get-active-layer image
        (let* ((layer1 (car (gimp-image-flatten image
        (gimp-layer-set-mode layer1 25)
 )       (let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
 ...
 - END CODE --

 In the above you see I define layer0 as the active layer (which I
 thought was a drawable) but this doesn't work for
 gimp-layer-new-from-drawable.  Replacing layer0 with 'image' also
 doesn't work and most frustratingly, using 
 (gimp-image-get-active-drawable image) also doesn't work - which I
 really thought it should based on the documentation.  What does this
 function expect?

 (I understand gimp-image-flatten somehow screws everything up by
 eliminating the layer, but am still not clear how to once-again get a
 valid layer from my image)


 3) C Assertation failures
 Perhaps most concerning are the assertation failures.  Presumably,
 these are not supposed to happen.  How concerned should I be?

  START CONSOLE DUMP -
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE image.png 
 image.png)))
        (layer0 (car (gimp-image-get-active-layer image
        (let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
        (gimp-layer-add-alpha layer1)
        (gimp-image-merge-down image layer1 2))
        (set! layer0 (gimp-image-get-active-layer image))
        (let* ((layer1 (car (gimp-image-flatten image
        (gimp-layer-set-opacity layer1 21.811554)
        (gimp-image-merge-down image layer1 0))
        (set! layer0 (gimp-image-get-active-layer image))
        (let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
        (gimp-layer-flatten layer1)
        (gimp-image-merge-down image layer1 0))
        (set! layer0 (gimp-image-get-active-layer image))
 (let* ((currDraw (car (gimp-image-get-active-layer image
 (gimp-file-save RUN-NONINTERACTIVE image currDraw newImage.png
 newImage.png ))
 )

 (gimp-console:2987): Gimp-Core-CRITICAL **: gimp_image_remove_layer:
 assertion `gimp_container_have (image-layers, GIMP_OBJECT (layer))'
 failed

  END CONSOLE DUMP -


 Cheers,
 Thomas

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


[Gimp-user] creating a texture

2009-11-24 Thread shay t.
hello there i am a blender user 
i i wanted to create a texture for bumomap/normal map
in gimp 
i tryed the noise filter but this is not what i need

i am modeling a camera 
see camera real image here 
http://www.kenrockwell.com/nikon/d40/images/d40-18-55mm-top-big.jpg
u can see that the camera material have little bumps
with different shapes in each little bump
how can i generate a texture like this in gimp

black and white will be also greate 

thank you

-- 
shay t. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] creating a texture

2009-11-24 Thread Owen

 hello there i am a blender user
 i i wanted to create a texture for bumomap/normal map
 in gimp
 i tryed the noise filter but this is not what i need

 i am modeling a camera
 see camera real image here
 http://www.kenrockwell.com/nikon/d40/images/d40-18-55mm-top-big.jpg
 u can see that the camera material have little bumps
 with different shapes in each little bump
 how can i generate a texture like this in gimp

 black and white will be also greate



I would try

Convert image to grayscale

Copy out a small section and save as a .pat file

-- 



Owen

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


[Gimp-user] creating a texture

2009-11-24 Thread shay t.

 hello there i am a blender user
 i i wanted to create a texture for bumomap/normal map
 in gimp
 i tryed the noise filter but this is not what i need

 i am modeling a camera
 see camera real image here
 http://www.kenrockwell.com/nikon/d40/images/d40-18-55mm-top-big.jpg
 u can see that the camera material have little bumps
 with different shapes in each little bump
 how can i generate a texture like this in gimp

 black and white will be also greate



I would try

Convert image to grayscale

Copy out a small section and save as a .pat file


i dont understand how grayscale can help
thank u

-- 
shay t. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] minimize the main toolbox?

2009-11-24 Thread Ryan Krauss
Ironically, I think I have accidentally hidden the toolbox trying to
alt-tab as well.  If I knew what I did, I would have stumbled onto the
answer to my own question...

On Tue, Nov 24, 2009 at 11:29 AM, Martijn Weisbeek weisb...@gmail.com wrote:
 Olivier,

 Use the TAB key, which toggles visibility of the toolbox and other
 dockable dialogs. And use F11 to fill the screen with the image window.
 You can even remove the menu bar, scrolling bars, and status bar, and
 have an image which really fills the screen.

 Those are some nifty shortcut keys. That might also explain why
 sometimes I have lost my toolbox.
 I guess that this has happened after I used the tab key for some
 action within GIMP.
 Then I might have meant ALT+TAB (to switch windows) instead, but
 forgot to press ALT and my toolbox is gone...

 Do you know whether there is a list of these key combinations online 
 somewhere ?
 I would expect these to be in the GIMP's user manual, but I cannot
 seem to find them.
 http://docs.gimp.org/en/key-reference.html is as close as I could find.
 However, it would be nice when there would be one pages with all of
 these useful GIMP commands.

 Thanks in advance,

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

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


Re: [Gimp-user] creating a texture

2009-11-24 Thread GSR - FR
Hi,
for...@gimpusers.com (2009-11-24 at 2113.32 +0100):
 hello there i am a blender user 
 i i wanted to create a texture for bumomap/normal map
 in gimp 
 i tryed the noise filter but this is not what i need

You have to combine it with other things. ;]

 i am modeling a camera 
 see camera real image here 
 http://www.kenrockwell.com/nikon/d40/images/d40-18-55mm-top-big.jpg
 u can see that the camera material have little bumps
 with different shapes in each little bump
 how can i generate a texture like this in gimp

You can probably do it in Blender too, using clouds texture, custom
colour gradients, etc. But in Gimp:

- new white image.

- rgb noise filter, move sliders to max so you get lots of dots.

- desaturate (lightness one is fine, try others if you want).

- blur (normal one will do here).

- curves, make a _/ curve , the histogram should show a sharp spike on
  the right side like /\, I placed the curve parallel to the left side
  of spike (x 162, y 0 and x 183, y 255, approx). This leaves you with
  some random black spots.

- guassian blur, 1-2 pixels to smooth.

- invert if you need the bump map that way.

As last note, I decided the dot density was too low, so before invert
I duplicated the layer, offset it, and put it in multiply mode. Next
would be making the result tileable (plenty of tutorials about this,
most just forget that you should use offset multiple times different
values, otherwise you will have zones that are hard to touch up).

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


Re: [Gimp-user] minimize the main toolbox?

2009-11-24 Thread Sven Neumann
Hi,

there are a lot of useful hints in the Tips of the Day dialog, hidden
in the Help menu. Perhaps you guys want to enable the Tips of the Day
feature and learn some more nice things about GIMP. One of the tips
would have been this one:

   If your screen is too cluttered, you can press Tab in an image
   window to toggle the visibility of the toolbox and other dialogs.


Sven


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


[Gimp-user] convert an image into an outline

2009-11-24 Thread Batangisip
You could select by color and choose the black, then from the select menu
choose to path from there go to the edit menu and select stroke path.

-- 
Batangisip (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-Fu Exceptions and errors

2009-11-24 Thread Thomas DuBuisson
Update 2:
1) Exceptions
The macro (not sure of the underlying primitives) catch will catch
errors.  The web page didn't even call them exceptions, which explains
why I/google didn't find it quickly.

Ex: when converting an image that might already be RGB to RGB:
(catch (gimp-image-convert-rgb image))

2) The layer issue
As stated before, an earlier command was obliterating my layer and I
forgot to take the head of the get-active-{layer,drawable} in my later
operations.

3) Assertation failures and segfaults

The assertation failures are probably somehow connected with my layer
merging - not that it is good to be able to hit this so easily.  I
also found a segfault, do to out of range arguments, since my previous
post and see that this doesn't crash the program - so its running in a
different thread or processs I guess.  Not sure if I can catch this
with catch, if I can't then I'll have to fix these corner cases.
Perhaps I'll make some patches for the function documentation if
people are interested.

Thomas

On Tue, Nov 24, 2009 at 11:34 AM, Thomas DuBuisson
thomas.dubuis...@gmail.com wrote:
 Update:

 1) The question regarding exceptions remains - there are too many
 corner cases, mostly undocumented, so it would be nice to ignore them
 silently.

 2) I see my fix was almost right but I forgot to take the head of the list:
 (car (gimp-image-get-active-drawable image)) is what I want, not the
 no-longer-existing layer0 or the whole list returned by
 gimp-image-get-active-{layer,drawable}.

 3) I still get things like the message below, so same question.
 (gimp-console:2987): Gimp-Core-CRITICAL **: gimp_image_remove_layer:
 assertion `gimp_container_have (image-layers, GIMP_OBJECT (layer))'
 failed



 On Tue, Nov 24, 2009 at 10:05 AM, Thomas DuBuisson
 thomas.dubuis...@gmail.com wrote:
 Hello list,

 I am planning on evolving image transformations using an AST of the
 script-fu langauge and generating random (but syntatically correct)
 scripts.  I would like to avoid programming in hundreds of corner
 cases into the system and thus have the following questions:

 1) Script-fu throws exceptions

 If/when I do something basic like call gimp-image-raise-layer on a
 layer that can not be raised, an exception is thrown.  I would very
 much like to catch/ignore exceptions such as this but it seems
 script-fu is too primitive.  Am I missing something?

 2) gimp-layer-new-from-drawable nearly always fails

 - CODE --
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE image.png 
 image.png)))
        (layer0 (car (gimp-image-get-active-layer image
        (let* ((layer1 (car (gimp-image-flatten image
        (gimp-layer-set-mode layer1 25)
 )       (let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
 ...
 - END CODE --

 In the above you see I define layer0 as the active layer (which I
 thought was a drawable) but this doesn't work for
 gimp-layer-new-from-drawable.  Replacing layer0 with 'image' also
 doesn't work and most frustratingly, using 
 (gimp-image-get-active-drawable image) also doesn't work - which I
 really thought it should based on the documentation.  What does this
 function expect?

 (I understand gimp-image-flatten somehow screws everything up by
 eliminating the layer, but am still not clear how to once-again get a
 valid layer from my image)


 3) C Assertation failures
 Perhaps most concerning are the assertation failures.  Presumably,
 these are not supposed to happen.  How concerned should I be?

  START CONSOLE DUMP -
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE image.png 
 image.png)))
        (layer0 (car (gimp-image-get-active-layer image
        (let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
        (gimp-layer-add-alpha layer1)
        (gimp-image-merge-down image layer1 2))
        (set! layer0 (gimp-image-get-active-layer image))
        (let* ((layer1 (car (gimp-image-flatten image
        (gimp-layer-set-opacity layer1 21.811554)
        (gimp-image-merge-down image layer1 0))
        (set! layer0 (gimp-image-get-active-layer image))
        (let* ((layer1 (car (gimp-layer-new-from-drawable layer0 image
        (gimp-layer-flatten layer1)
        (gimp-image-merge-down image layer1 0))
        (set! layer0 (gimp-image-get-active-layer image))
 (let* ((currDraw (car (gimp-image-get-active-layer image
 (gimp-file-save RUN-NONINTERACTIVE image currDraw newImage.png
 newImage.png ))
 )

 (gimp-console:2987): Gimp-Core-CRITICAL **: gimp_image_remove_layer:
 assertion `gimp_container_have (image-layers, GIMP_OBJECT (layer))'
 failed

  END CONSOLE DUMP -


 Cheers,
 Thomas


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


Re: [Gimp-user] creating a texture

2009-11-24 Thread Owen


 hello there i am a blender user
 i i wanted to create a texture for bumomap/normal map
 in gimp
 i tryed the noise filter but this is not what i need

 i am modeling a camera
 see camera real image here
 http://www.kenrockwell.com/nikon/d40/images/d40-18-55mm-top-big.jpg
 u can see that the camera material have little bumps
 with different shapes in each little bump
 how can i generate a texture like this in gimp

 black and white will be also greate



I would try

Convert image to grayscale

Copy out a small section and save as a .pat file


 i dont understand how grayscale can help
 thank u


Well that was my interpretation of your black and white will be also
greate


-- 



Owen

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