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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,768
» Latest member: Todd
» Forum threads: 6,977
» Forum posts: 38,108

Full Statistics

Latest Threads
Gimp 3: I need my arrows ...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Todd
48 minutes ago
» Replies: 0
» Views: 6
Arrow Script
Forum: Extending the GIMP
Last Post: rich2005
53 minutes ago
» Replies: 115
» Views: 140,524
Gimp 3.0.0. rc1 AppImage
Forum: Alternate Gimp packagings
Last Post: Tas_mania
1 hour ago
» Replies: 14
» Views: 586
stylus doesn't draw lines
Forum: General questions
Last Post: rich2005
2 hours ago
» Replies: 4
» Views: 94
Controlling Hue Chroma ?
Forum: Scripting questions
Last Post: Ofnuts
10 hours ago
» Replies: 2
» Views: 127
Resize and convert a SVG ...
Forum: Scripting questions
Last Post: Ofnuts
11 hours ago
» Replies: 8
» Views: 365
emergent chaos or entrail...
Forum: Gallery
Last Post: MJ Barmish
Yesterday, 06:03 PM
» Replies: 0
» Views: 61
autumnal sunset (particul...
Forum: Gallery
Last Post: MJ Barmish
Yesterday, 06:00 PM
» Replies: 0
» Views: 51
My Gimp 3.0 Plug-in (grou...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Ofnuts
Yesterday, 05:29 PM
» Replies: 7
» Views: 267
Is layer Composite Space ...
Forum: General questions
Last Post: jez9999
Yesterday, 02:22 PM
» Replies: 4
» Views: 218

 
  layergroup managing scripts
Posted by: dela - 06-15-2020, 07:19 AM - Forum: Extending the GIMP - Replies (2)

Hello,

I am looking for scripts to manipulate layers and layergroups.

examples

1] Non destructive renaming/renumbering layers ( adding numbers to the layers *001*, moving copy del etc, remove numbering which gives the layer it's original name,
ic removing *xxx*)

2] Moving and/or Copying layers into a layergroup ( simplest format usable would be,  move xxx layers below it into a layergroup )

3] Copying layers and layersgroup ( copy layers from *010* to *020* the layergroups contained in this area must also be copied )


I have found scripts which number but they can't remove the 'added' numbers.
I have found scripts which copy layers but from layergroups only the 'top' layer is copied.


Smile  mostly using 2.8 with layergroups, occasional 2.10

Print this item

  Can I change the default when opening a TIF?
Posted by: warrentdo - 06-14-2020, 02:19 PM - Forum: General questions - Replies (1)

Hello, when I open a TIF with Gimp it defaults to px.
is there a way to default to mm?
Regards

Warren.

Print this item

  Changing opacity of floating dialogs
Posted by: migf1 - 06-14-2020, 09:01 AM - Forum: General questions - No Replies

Hello,

is there a setting to adjust the transparency of floating dialogs, like the one that pops up when entering text? https://prnt.sc/szee1g

I'd pretty much prefer them to be opaque.

Thanks!

Print this item

  Stylizing GtkNotebook Tabs in Theme (gtkrc)
Posted by: migf1 - 06-13-2020, 06:41 PM - Forum: General questions - Replies (23)

Hello,

I actually subscribed to ask you guys this, but frankly I don't know if this is the right forum. If not, I would appreciate some pointers to the right place(s). Thanks in advance.

Long story short (and for the name of the loving God) I cannot find which widget corresponds to the tabs of a GtkNotebook in the gtkrc file (and hence to the GimpDockbook, since according to the docs it inherits the styles of the GtkNotebook).

With lots of trial & error attempts, I figured that the widget_class "*<GtkNotebook>.<GtkWidget>.<GtkLabel>" affects the labels of the tabs (their text title) but what I'm after is how to highlight the active tab, as shown in the Gtk2 docshttps://developer.gnome.org/gtk2/stable/notebook.png (that little blue stripe, at the top of the active tab)

Btw, the full docs are here: https://developer.gnome.org/gtk2/stable/...ebook.html

I can colorize the actual pane of the active tab (the white area in the image above), as well as the background color of the inactive tabs., But I cannot find how to make that little highlight at the top of the active tab.

The funny thing is that I had done that, like 6 years ago, in a collection of themes for Gimp 2.8 I had released on DeviantArt. I had many requests to update them for v2.10.1x, which I kindly declined, because I have never dealt with the GTK2 theming engine since then.

However, like a week ago, I decided to give it a go (using Gimp 2.10.18) but I found that things I've done in the old themes do not work now (most probably because GTK+2 has evolved since then and/or because newer versions of Gimp probably use some things differently).

I've almost finished a Dark theme for Gimp 2.10.18, for which btw, v2.10.20 broke the ComboBox drop-down lists style. Most notably the appears-as-list property (which has been reported as problematic and it's deprecated in GTK3). In Gimp 2.10.18, with that property set to FALSE, all ComboBox drop-down lists were using the styles of the menus, so they were looking like popup menus. You know, the ones with the scrolling butons at their top and bottom, like the list of the layer Blend Modes in v2.10.18. In Gimp 2.10.20, regardless of how I set the "appears-as-list" property, all ComboBox drop-down lists look like regular TreeView lists, and once again I cannot find how to disable the border/shadow around the popup: https://prnt.sc/sz5e7a

So, that's a second thing I would like to know how to solve, if possible.

I've tested Gimp 2.10.20's default dark theme, and I confirmed that indeed the layer Blend Modes list has been brought back to be a regular list (its appears-as-list property is set to FALSE, but changing it to TRUE doesn't make any difference, just like it doesn't with my theme anymore). The reason it looks as a popup menu is because the default themes overlay everything with images (found in the ./ui/ folder). I guess going for uniform looks across different OSes, so menus and TreeView lists are both using the same background image. But if you look for it you will see that in Gimp 2.10.20 the layer Blend Modes list does NOT have top & bottom scrolling buttons. Instead, it uses a regular vertical scrollbar, so it is a just a list.

Please excuse my long post, I tried to be as precise as I could, about my questions. Once again, if you know a better place I should ask, please let me know.

Greetings to all!

Print this item

  Windows + Wacom problem
Posted by: bschu - 06-13-2020, 03:17 PM - Forum: General questions - Replies (2)

Hello! First post.

I'm trying to track down a very annoying and persistent problem with GIMP in windows. Using latest most stable version. 2.10.18 I believe.

The problem is not really GIMP though. It is something to do with the Wacom tablet... OR... something to do with GTK or something which I know nothing about

When the problem happens, GIMP completely freezes. AND I get the same behavior with Krita software... HOWEVER... I found that I can still run Autodesk Sketchbook.

So here's a bunch of info.

1 - If I leave my usb Wacom tablet plugged in, things are normally fine.
2 - If I have to unplug the tablet, this is where the problem usually begins.
3 - When the bug happens, both GIMP and Krita will completely freeze up when I try to use the tablet pen. If I use the mouse it will still be ok, but the moment the pen touches the tablet it freezes.
4 - Other softwares seem to work fine all the time, including pressure sensitivity and everything.
5 - If I reboot the computer, and plugin the tablet AFTER windows is loaded, it will go back to being normal and everything works great (~~er... sometimes have to close and open GIMP again to make pressure sensitivity work... but I can live with that).

What is special about GIMP and Krita that makes this happen? They both freeze up "SOMETIMES" when something happens to the tablet. I was reading somewhere that GIMP uses GTK and GTK is a problem in Windows? Is it possible that both GIMP and Krita depend on GTK and that is why this is happening? If so, is there a way to restart GTK?



That you in advance for ANY INFO you can give me.

And here's some of my GIMP illustration if you are into that! https://www.bschu.net

Print this item

  Changing the default setting for 'Opacity' in the 'New Layer' Dialogue (Gimp 2.10.8)
Posted by: Gerard - 06-13-2020, 12:19 PM - Forum: General questions - Replies (3)

Today when I use the Layer | New Layer menu option the layer opacity defaults to 0.0

Previously it has always defaulted to 100.0 - I have no idea what triggered this change.

I have tried changing it to 100.0 and quitting Gimp - but when I reload and try again the default is back to 0.0

A change to 100.0 for the creation of a new layer does not even persist for a session, each and every time
Layer | New Layer is used the opacity reverts back to 0.0

I have RTFM'd and Searched, I can find no help on this.

Can someone please tell me how to reset the default opacity setting for the new layer dialogue?

Platform - Windows 10
Gimp     - 2.10.8

Print this item

  Focus Blur and Lens Blur
Posted by: rich2005 - 06-13-2020, 09:28 AM - Forum: Tutorials and tips - No Replies

Gimp 2.10.20 comes with some additional GEGL procedures that are more or less replacements for old third party plugins.

Focus Blur at its basic, keeps a target area sharp and progressively blurs the background. Drag the on-canvas control points around to change shape and the dialog for the amount of blur.  The old plugin looked like this: https://www.dedoimedo.com/computers/gimp-dof.html

   

There are options for the shape and with the various options an effect similar to the old 'Toy' plugin is possible: If you do not remember the toy plugin see: http://libregraphicsworld.org/blog/entry...hift-fakes

   

Lens Blur again is similar to the focus blur with a mask. Paint a mask to determine what is in focus: black-is-in, white-is out, grey-is-in-between, so experiment with painting masks and gaussian blur. A basic use, as this example - paint in with a fuzzy brush to avoid unnatural hard edges.  This GEGL procedure can be a bit slow rendering the canvas so be patient.

   

Print this item

Question How it is possible that Gimp while exporting histogram counts more pixels than there
Posted by: niitard - 06-12-2020, 03:20 PM - Forum: General questions - Replies (4)

Hello,

I'm currently learning programming in python, one of subject that i'm trying to cover now is working with image.  So i wanted to created o program that's counting how many pixel of each colour is in my image (which is 10x10 pixel gray scale). So i created the image all black with 24 white pixel and my program, all works well. It counts 24 pixel of "255" and 76 of "0.

But here comes the problem:

when i have used the Gimp [color] -> [information] -> [export histogram] to file i got the results like this

Range start,Value

0 , 76.0

1 , 0.0

2 , 0.0
[...]

253 , 0.0

254 , 24.0

255 , 24.0


it looks like, the Gimp software counted white pixel two times, so when they are summed up that makes 24 + 24 + 76 = 124 , and yet the picture size is still 10x10  = 100

i've searched the internet but cant find the clue:
How it is possible that Gimp while exporting histogram counts more pixels than there are really in the picture?

Thank you for help Smile

Print this item

  How do I change a specific colour in a specific layer?
Posted by: AnyOldBiscuit - 06-12-2020, 01:41 PM - Forum: General questions - Replies (5)

I want to change the colour of drawn lines from one shade of green to another. All the green lines are in one layer, except for a few which are in another layer (I also want to change these ones). I have tried the bucket fill tool, but it ends up filling in the edges so it no longer has anti-aliasing, end, as a consequence, also fills small gaps. Somehow, the bucket fill tool worked fine to change colour when I tested it on a blank canvas. How do I change the colour without affecting the entire image? I only want to change the pixels that make up the lines.

Print this item

Photo Image Looks like This but Prints like This, Please Help
Posted by: arthurerb - 06-12-2020, 12:20 AM - Forum: General questions - Replies (2)

Troubleshot the printer (Espon WF-3720). Doesn't seem to be the issue.

   


[attachment=4532 Wrote:arthurerb pid='18680' dateline='1591921237']     Troubleshot the printer (Espon WF-3720). Doesn't seem to be the issue.

Print this item