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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,095
» Latest member: Myramillan
» Forum threads: 7,796
» Forum posts: 42,337

Full Statistics

Latest Threads
Can you identify effects/...
Forum: General questions
Last Post: rich2005
57 minutes ago
» Replies: 5
» Views: 156
Best way to recolor this ...
Forum: General questions
Last Post: rich2005
1 hour ago
» Replies: 10
» Views: 725
A Search For Missing Belg...
Forum: Watercooler
Last Post: denzjos
2 hours ago
» Replies: 2
» Views: 1,072
eps file won't open
Forum: General questions
Last Post: rich2005
Yesterday, 09:26 AM
» Replies: 2
» Views: 212
undesirable grid
Forum: General questions
Last Post: rich2005
01-29-2026, 12:45 PM
» Replies: 1
» Views: 179
GIMP 3.0.8 Installation
Forum: Windows
Last Post: rich2005
01-28-2026, 06:41 PM
» Replies: 1
» Views: 290
GIMP won't start after fr...
Forum: Windows
Last Post: denzjos
01-27-2026, 05:04 PM
» Replies: 2
» Views: 304
Display not keeping up wi...
Forum: Extending the GIMP
Last Post: nmw01223
01-26-2026, 06:39 PM
» Replies: 2
» Views: 282
Preferences/Folders shows...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: programmer_ceds
01-26-2026, 05:21 PM
» Replies: 6
» Views: 3,932
Perspective tool anchors.
Forum: Extending the GIMP
Last Post: denzjos
01-25-2026, 04:01 PM
» Replies: 7
» Views: 510

 
  installation problem
Posted by: cecilia - 02-02-2022, 07:24 AM - Forum: OSX - Replies (2)

I am working on an iMac with OS Sierra (not High Sierra). Although purchased in 2011 the computer was built in 2009. I downloaded and installed GIMP but although it told me it had installed successfully and on launch the icon appears in the dock, it only shows for about five seconds and then vanishes. 

I'm keen to explore GIMP, and wonder if this situation has a remedy?

cecilia
http://www.duckpondpress.please.no.advertising

Print this item

  Why does GIMP change the BPP ?
Posted by: Mark2855 - 02-01-2022, 06:15 PM - Forum: General questions - Replies (5)

Using GIMP 2.10.28, I opened 12 images, to make a GIF.
Each of the 12 pictures is 1920 x 1200 pixels, at 24 BPP.
When I export it as a GIF, the GIF ends up being only 8 BPP.
That makes it more pixelated / less clear.  
Why does it do that?  How to make it maintain the 24 BPP?
Thanks, people.
Mark2855

Print this item

  Python Plugin from .bat
Posted by: Eonwe - 02-01-2022, 01:51 PM - Forum: Extending the GIMP - Replies (4)

Hello Folks,

I am trying to call a Python Script from a Windows batch file, but somehow I can't get it to work. All I ever got was "batch execution failed". I am certain that the problem lies within the .bat file that I use to call the script. Can someone please tell me the right syntax?

Code:
REM switch to GIMP folder
cd C:\Users\wa2378\AppData\Local\Programs\GIMP 2\bin
REM start Gimp
Start gimp-console-2.10.exe -idf --batch-interpreter=python-fu-eval -b "import sys; sys.path=[\".\"]+sys.path;import save2png;save2png.convert(\"sample.xcf\")"

I am pretty sure the problem is with the escaped quotes but I don't know how to change that and I couldn't find a working example anywhere. The example is taken from here and untouched except the modified quotes:

http://gimpchat.com/viewtopic.php?f=9&t=15024

Thanks in advance!

Print this item

  Installing ofn-export-layers plugin
Posted by: arun321 - 02-01-2022, 05:35 AM - Forum: General questions - Replies (1)

I am trying to install ofn-export-layers plugin on gimp. I don't see option to export layers on gimp menu. I have already restarted gimp after installing the plugin.

I got it from here: https://sourceforge.net/projects/gimp-to...s/scripts/

I am using gimp flatpak installation.



[Image: Untitled.png]

Print this item

  GEGL graph
Posted by: Pocholo - 01-31-2022, 06:08 PM - Forum: Scripting questions - Replies (2)

I hope I get a fix using the "Gegl" command line pdb.python_gegl(img, wavesLayer, 'noise-solid x-size=16.00 y-size=16.00 detail=15 tileable=0 turbulent=0 seed=0 width=1920 height=1080') from one of the Gegl expert here.

When I use Gegl graph, the procedure work fine and it give me the Solid Noise...
(Click the link to see image)
https://imgur.com/a/kteCJwE


But when I run the plugin it doesn't give me the same result, it just give me the created white layer.
(Click the link to see image)
https://imgur.com/a/69ErYDl

As you see in the code, I used the "gegl Bump-map" (Line 75-76) and this one work with no problem.
But the "gegl Solid Noise" (Line100) there is no action.

Thank you in advance!

This is my plugin code:

Code:
1      When I use Gegl graph, the procedure work fine and it give me the Solid Noise...
2      https://imgur.com/a/kteCJwE
3  
4      But when I run the plugin it doesn't give me the same result, it just give me the created white layer.
5      I used the "gegl_command.py" that is made up of paynekj's simpler version.
6  
7      https://imgur.com/a/69ErYDl
8  
9      #!/usr/bin/env python
10     # -*- coding: utf-8 -*-
11
12     # author: Pocholo
13     # date: 8/18/21
14
15     # Comments directed to http://gimpchat.com
16
17     # Installation:
18     # This script should be placed in the user plugin folder
19
20     # Copyright (C)
21
22     #   This program is free software: you can redistribute it and/or modify
23     #   it under the terms of the GNU General Public License as published by  
24     #   the Free Software Foundation, either version 3 of the License, or
25     #   (at your option) any later version.
26
27     #   This program is distributed in the hope that it will be useful,
28     #   but WITHOUT ANY WARRANTY; without even the implied warranty of
29     #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
30     #   GNU General Public License for more details.
31     #
32     #   You should have received a copy of the GNU General Public License
33     #   along with this program.  If not, see <https://www.gnu.org/licenses/>.
34
35     from gimpfu import *
36     import os, sys,time
37     import gettext
38     gettext.install("gimp20", gimp.locale_directory, unicode=True)
39                   
40     def create_a_beautiful_moonlight_scene():
41
42         pdb.gimp_context_push()
43         pdb.gimp_context_set_defaults()
44           
45         #Create the sky
46         img = pdb.gimp_image_new(1920, 1080, RGB)
47         Starslayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Small Stars", 100, LAYER_MODE_NORMAL)
48         pdb.gimp_image_insert_layer(img, Starslayer, None, 0)
49         pdb.gimp_layer_add_alpha(Starslayer)
50         pdb.gimp_context_set_foreground((0, 0, 0))
51         pdb.gimp_drawable_fill(Starslayer, FILL_FOREGROUND)
52       
53         #Image process
54         pdb.gimp_display_new(img)
55       
56         #Create the stars
57         pdb.plug_in_hsv_noise(img, Starslayer, 8, 0, 0, 255)
58         pdb.gimp_brightness_contrast(Starslayer, -80, 50)
59         pdb.plug_in_gauss(img, Starslayer, 0.50, 0.50, 1)
60         pdb.plug_in_sparkle(img, Starslayer, 0.001, 1.00, 20, 4, 15, 1.00, 0, 0, 0, FALSE, FALSE, FALSE, 0)
61       
62         #Create the Moon
63         moonLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Moon", 100, LAYER_MODE_NORMAL)
64         pdb.gimp_image_add_layer(img, moonLayer, 0)
65         pdb.gimp_drawable_fill(moonLayer, FILL_TRANSPARENT)
66         pdb.gimp_context_set_foreground("White")
67         pdb.gimp_image_select_ellipse(img, 2, 810, 75, 306, 306)
68         pdb.gimp_edit_bucket_fill(moonLayer, BUCKET_FILL_FG, LAYER_MODE_NORMAL, 100, 255, FALSE, 0, 0)
69         pdb.plug_in_solid_noise(img, moonLayer, FALSE, FALSE, 0, 15, 0.8, 0.8)
70         pdb.gimp_selection_none(img)
71       
72         #Create a texture on the moon
73         pdb.gimp_file_save(img, moonLayer, "C:\\temp\\Moon.png", "Moon.png")
74         moonLayer=pdb.gimp_image_get_active_layer(img)
75         pdb.python_gegl(img, moonLayer,
76            'bump-map aux=[load path="C:\\temp\\Moon.png"] compensate=1 invert=0 tiled=0 azimuth=220 elevation=30 depth=7 offset-x=0 offset-y=0 waterlevel=1.00 ambient=1.00')
77         pdb.gimp_image_select_item(img, 2, moonLayer)
78         pdb.gimp_selection_shrink(img, 6)
79         pdb.gimp_selection_invert(img)
80         pdb.gimp_drawable_edit_clear(moonLayer)
81       
82         #Moon glow
83         glowLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Moon glow", 100, LAYER_MODE_NORMAL_LEGACY)
84         pdb.gimp_image_add_layer(img, glowLayer, 1)
85         pdb.gimp_drawable_fill(glowLayer, FILL_TRANSPARENT)
86         pdb.gimp_context_set_foreground("White")
87         pdb.gimp_image_select_item(img, 2, moonLayer)
88         pdb.gimp_edit_bucket_fill(glowLayer, BUCKET_FILL_FG, LAYER_MODE_NORMAL, 100, 255, FALSE, 0, 0)
89         pdb.gimp_selection_none(img)
90         pdb.plug_in_gauss(img, glowLayer, 150, 150, 1)   #method=1
91       
92         #Create the sea
93         seaLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Sea", 100, LAYER_MODE_NORMAL)
94         pdb.gimp_image_add_layer(img, seaLayer, 0)
95         pdb.gimp_context_set_foreground((3, 3, 5))
96         pdb.gimp_drawable_fill(seaLayer, FILL_FOREGROUND)
97         wavesLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Waves", 100, LAYER_MODE_NORMAL)
98         pdb.gimp_image_add_layer(img, wavesLayer, 0)
99         pdb.gimp_drawable_fill(wavesLayer, FILL_WHITE)
100        pdb.python_gegl(img, wavesLayer, 'noise-solid x-size=16.00 y-size=16.00 detail=15 tileable=0 turbulent=0 seed=0 width=1920 height=1080')
101
102        #Make active the bottom layer and done
103        pdb.gimp_image_set_active_layer(img, Starslayer)
104      
105        #Set gimp to default
106        pdb.gimp_context_pop()
107          
108    register(
109        "create_a_beautiful_moonlight_scene",
110        "Creates Stars and a Moon",
111        "Creates Stars and a Beautiful Moonlight over a Sea",
112        "Pocholo",
113        "Pocholo",
114        "2021",
115        "Create a Beautiful Moonlight Scene",
116        "",
117        [  
118        ],
119        [],
120        create_a_beautiful_moonlight_scene, menu="<Image>/Pocholo-scripts/Beautiful Moonlight scene",
121        domain=("gimp20", gimp.locale_directory))
122    main()        

Print this item

  How to shift the canvas? (rotate?)
Posted by: Krikor - 01-30-2022, 05:48 AM - Forum: General questions - Replies (3)

I don't know how I got it.  Blush

I was with the free select tool selected and tracing a selection, using keys like ctrl, shift or alt, or a combination of them, I'm not sure what I did.
Then suddenly my canvas shifted a few degrees as shown in the image below.
[Image: oIecJbO.png]
I tried to understand what I had done, and I tried to recreate it, but to no avail.

In short, how could I have done this?

Print this item

  Inserting pdb.python_gegl command in my code
Posted by: Pocholo - 01-29-2022, 11:09 PM - Forum: Scripting questions - Replies (1)

Hi guys! I'm trying to implement a Gegl command in my code and it's not working.

Using the Bump map filter I have this:

Code:
pdb.python_gegl(img, layer, 

   "bump-map type=linear compensate=True invert=False tiled=False azimuth=220 elevation=30 depth=20 offset-x=0 offset-y=0 waterlevel=1.00 ambient=1.00")
[/code]

What am I missing here? Thank you in advance!

Print this item

  Astronomy Tools Action Set
Posted by: Cheesenacho - 01-29-2022, 09:07 PM - Forum: Extending the GIMP - No Replies

Hello,

I'm wondering if there is anyone that knows of a way to get Astronomy Tools Action Set to work with Gimp 2.10?
Or, if maybe there is a version of Gimp coming out that will allow the use of these tools?

Thanks,

CN

Print this item

  Problem to open files in Gimp
Posted by: AdamC - 01-28-2022, 12:58 PM - Forum: OSX - Replies (3)

Hello, I am new here and I just installed Gimp 2.10 on my MacBook Pro.. I am using MacOS Big Sur. I have problem opening up my pictures and i get som varning as attached. What is the problem here?



Attached Files Thumbnail(s)
   
Print this item

  Blocked Layer
Posted by: Ps2Gimp - 01-27-2022, 08:03 PM - Forum: General questions - Replies (5)

Hi. Got a maybe easy question for regular users.
Imported a png image & scaling is like blocked.
I juss dunno ?
https://ibb.co/9Yr0g7w
Thanks

Print this item