Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,916
» Latest member: Username1242
» Forum threads: 7,684
» Forum posts: 41,794

Full Statistics

Latest Threads
AIMAGoR - Artificial IMAg...
Forum: Other graphics software
Last Post: vitforlinux
1 hour ago
» Replies: 23
» Views: 9,639
Isolate, select and copy/...
Forum: General questions
Last Post: denzjos
Yesterday, 06:22 PM
» Replies: 5
» Views: 258
"Plug-in crashed" on GIMP...
Forum: General questions
Last Post: skullamrotis
Yesterday, 04:14 PM
» Replies: 2
» Views: 312
RapidRAW
Forum: Other graphics software
Last Post: denzjos
Yesterday, 12:51 PM
» Replies: 2
» Views: 179
Tutoriel installer Drea...
Forum: Tutorials and tips
Last Post: meric57
Yesterday, 07:45 AM
» Replies: 0
» Views: 6
Nouveau Arrivant sur le f...
Forum: Watercooler
Last Post: meric57
Yesterday, 06:45 AM
» Replies: 0
» Views: 8
Accessing GIMP’s internal...
Forum: General questions
Last Post: rich2005
11-02-2025, 12:35 PM
» Replies: 1
» Views: 156
Can't find path plug-in
Forum: General questions
Last Post: programmer_ceds
11-01-2025, 04:47 PM
» Replies: 7
» Views: 426
Gimp shows blank black sc...
Forum: Windows
Last Post: rich2005
11-01-2025, 09:01 AM
» Replies: 1
» Views: 159
Outlined and filled in 3....
Forum: General questions
Last Post: rich2005
10-31-2025, 04:42 PM
» Replies: 2
» Views: 239

 
Rainbow Let us say with petals
Posted by: Gimphried - 10-21-2021, 09:15 PM - Forum: Scripting questions - Replies (2)

1. Let us say with petals

Make Flower has been written in Script-Fu by Daniel Bates in 2007.
You can download the free open source Flower_Generator_Script_by_Insanity_Prevails.scm
in the SamRocketMan's github reposity.

Open the .scm script in the free editor Notepad++.

script-fu-register in line 316 has strange NUL characters.
Into the bargain, nowadays, the registration is in two steps. We need to indicate the Gimp menu to call this script in an additional call:

Code:
(script-fu-menu-register "script-fu-make-flower" "<Image>/Filters/Render/Make Flower/")
However don't do it! We do not need to overload the Gimp Graphic User Interface (GUI) with additional menus that are not used daily.

Arrow We can call directly make-flower in the Script-Fu console of Gimp 2.10.28 without any registration.

1. In Notepad++, click in the beginning of the line 12 before the opening parenthesis without selecting anything.
2. Press the Notepad++ shortcut Ctrl+Alt+B.
Notepad++ automatically selects the entire function make-flower from line 12 to line 312.
This means that of course the parenthesis are well balanced.

3. Press Ctrl+C in Windows to copy the function in the clipboard.
4. Run Gimp.
5. Gimp menu Filters > Script-Fu > Console
;-> "Welcome to TinyScheme" appears in the top of the Script-Fu console.

6. Paste the content of the clipboard in the input area of the Script-Fu console above the Help button.
Press ENTER
;-> Script-Fu replies by the name of the function:
make-flower
This means that there is not any errors of syntax!

7. Copy in the clipboard by Ctrl+C the following call of the function with all parameters:
Code:
(make-flower       500  2         2        30        1        5        '(230 120 210)  '(170 50 150)    '(170 170  50))
Press ENTER to run the TinyScheme function.
;->  Cry
Oops:
Code:
Error: Bad syntax of binding spec in let* : ((theImage) (theActive) (base-layer) (flower-layer) (petal-layer) (petal2-layer) (petal3-layer) (petal4-layer) (petal5-layer) (petal6-layer) (shade-layer) (map-layer) (varX1) (varY1) (varX2)) 

8. In Notepad++, select the Let*'s local variables from line 26 to 46:
Code:
    (theImage)
    (theActive)
    (base-layer)
    (flower-layer)
    (petal-layer)
    (petal2-layer)
    (petal3-layer)
    (petal4-layer)
    (petal5-layer)
    (petal6-layer)
    (shade-layer)
    (map-layer)

    (varX1)
    (varY1)
    (varX2)
The initial value is missing for each local variable. Fortunately, they are all integers.

10. To fix the issue, Notepad++ menu Search > Replace...
11. In the dlgbox "Replace", 2nd tab "Replace", 
Find what: ")"
Enter the closing parenthesis without the double quotes.

Replace with: " 0)"
Enter a space separator before the initial value, then the initial value 0 and the closing parenthesis.
Do not enter the double quotes.

Check the option [x] in selection
Press the Replace All button
The expected result must be:
Code:
    (theImage 0)
    (theActive 0)
    (base-layer 0)
    (flower-layer 0)
    (petal-layer 0)
    (petal2-layer 0)
    (petal3-layer 0)
    (petal4-layer 0)
    (petal5-layer 0)
    (petal6-layer 0)
    (shade-layer 0)
    (map-layer 0)

    (varX1 0)
    (varY1 0)
    (varX2 0)
12. Repeat steps 1-7
;-> The script draws the pink flower with 8 petals on 500x500 pixels.


.webp   make-flowerPetal8.webp (Size: 6.96 KB / Downloads: 355)

The Layer window shows the following layers:
  • Shading
  • Centre Shading
  • Centre
  • Flower
  • Background

Print this item

  lissa_jous walking on her path
Posted by: denzjos - 10-21-2021, 06:59 PM - Forum: Gallery - No Replies

lissa_jous walking on her path :
   

Print this item

  2.99.8
Posted by: meetdilip - 10-21-2021, 03:25 PM - Forum: General questions - Replies (4)

Hi, is it possible to install 2.99.8 alongside 2.10.24 in Windows 10 without damaging the latter ? Thanks.

https://www.gimp.org/news/2021/10/20/gim...-released/

Print this item

  smooth change any number 0 to 9 to next number
Posted by: hendrikbez - 10-21-2021, 08:09 AM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (7)

Is there a tutorial on how to change  (0 to 1) so that 0 change into 1 with 2 or 3 steps, with neon colours.

Want to use it for time keeping

Print this item

  What versione of this plugin?
Posted by: Uth2022 - 10-20-2021, 10:56 PM - Forum: Windows - Replies (3)

What version can I download for Windows?

https://packages.debian.org/sid/gimp-cbmplugs

Print this item

  Discolored teeth help
Posted by: chaz2000 - 10-20-2021, 07:41 PM - Forum: General questions - Replies (1)

I'm relatively new to gimp.
I took some pics of a lady friend. Her husband says that she is sensitive about the discoloration of her teeth. It looks like she has caps on the bottom of her two top front teeth.

I tried:
making a new layer
using the lasso selector, select the darker area of the two teeth
in the colors menu, selected and decreased the Hue-saturation. (didn't work)

Appreciate your help.



Attached Files Thumbnail(s)
   
Print this item

  Add second language to to Text Tool
Posted by: MarkGimp - 10-20-2021, 03:27 AM - Forum: General questions - Replies (4)

1st language is English.
I would like to add a second language (French) to the Text tool,
so that Mid-sentence I can switch between the two languages.

For example to get the accent grave over the 'e', etc. etc.

Can someone please tell me how to do this?

If I am in the Text tool and change the Language on the bottom left side
to French, there is no change at all to what I type.  Sad

Print this item

  Default Directory
Posted by: zeuspaul - 10-19-2021, 10:01 PM - Forum: General questions - Replies (3)

Is there a way to set a default folder for opening and saving files?  For one reason or another I have to reopen Gimp maybe a freeze in Gimp or my computer has to be booted for some reason.

Every time I open Gimp it wants to go to recent files and then I have to navigated down through a file tree to get to the folder that contains my files.  Then I have to remember to navigate once again to save a file to the same file folder or files end up where I don't want them.  Once I do it once in a session it remembers for the rest of the session.

Can I set this up to remember the same folder I use for all of my Gimp work?  I haven't found anything in edit preferences.

Print this item

  Thank you Rich.
Posted by: david - 10-18-2021, 09:25 AM - Forum: Watercooler - No Replies

Last night I decided to install GIMP 2.10.28 from the Panda Jim PPA.
Thanks to all the information and files provided by Rich, it was a straightforward and simple process.

I now have a fully working installation with the latest GMIC.

Print this item

  street scene
Posted by: rich2005 - 10-18-2021, 09:19 AM - Forum: Gallery - Replies (4)

From a couple of weeks ago. Probably the last decent day of the year where I live. Normally I do not scramble a photograph with any 'artistic' type plugin but the original is not that much interesting. This a gmic filter, very colourful.  The building in the center (in my youth) was a really dubious pub, alas now 'gentrified, all the character has gone. 

   

Print this item