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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,589
» Latest member: jadekristina
» Forum threads: 7,461
» Forum posts: 40,765

Full Statistics

Latest Threads
'Transparent' area is bro...
Forum: General questions
Last Post: Black Jack Davy
19 minutes ago
» Replies: 2
» Views: 98
GIMP 3.04 opens with wind...
Forum: Windows
Last Post: rich2005
4 hours ago
» Replies: 6
» Views: 270
.SCM and .PY files are no...
Forum: Gimp-Forum.net
Last Post: Ofnuts
Yesterday, 05:28 PM
» Replies: 0
» Views: 65
Export all opened images ...
Forum: Extending the GIMP
Last Post: Ofnuts
Yesterday, 05:22 PM
» Replies: 9
» Views: 9,286
v3.04 Script Error sg-sav...
Forum: Extending the GIMP
Last Post: Ofnuts
Yesterday, 05:11 PM
» Replies: 1
» Views: 71
Bug: gimp-drawable-get-pi...
Forum: Scripting questions
Last Post: programmer_ceds
Yesterday, 03:55 PM
» Replies: 8
» Views: 249
blank screen
Forum: OSX
Last Post: wilsonpig
Yesterday, 08:58 AM
» Replies: 4
» Views: 171
Cannot Install BIMP to GI...
Forum: Extending the GIMP
Last Post: Ofnuts
07-03-2025, 07:52 PM
» Replies: 1
» Views: 111
Missing fonts when export...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: chblondel
07-03-2025, 06:11 PM
» Replies: 9
» Views: 517
Gimp 3.0.4 - Windows 10 -...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-03-2025, 03:02 PM
» Replies: 1
» Views: 128

 
  toolbox problem
Posted by: rjkanes - 06-06-2021, 06:07 PM - Forum: General questions - Replies (1)

Hi, I see the following message when I try to find my toolbox: "The chosen recent dock contains a toolbox. Please close the currently open toolbox and try again." This occurs even with a brand new file and image. The toolbox is nowhere to be seen... help!

Print this item

  Smoothing a path: a simple plugin
Posted by: Ottia Tuota - 06-06-2021, 10:50 AM - Forum: Extending the GIMP - Replies (12)

I happened to find a simple algorithm to smooth paths of linear line segments. The site is

https://web.archive.org/web/201903270015...ERPOLATION

The algorithm is a simple geometric construction of control points. Certainly there are much more sophisticated algorithms but this is simple and probably sufficient to most purposes. I made a faithful implementation of it. (I manipulated the formulas a little which gave different insight to their meaning. But I refrain from explaining it here.)

To get the plugin, go to

http://kmarkku.arkku.net/Path_modify_fil...aster.html

scroll to the bottom, and click the right download button ("Simple smooth"). You get a zip file. Unzip it and place the one file it contains (simple_smooth_path.py) in your user's plug-ins folder. Then (re)start Gimp. To use the plugin: in the Paths tab, right-click a path and follow the links Tools > Modify path > Simple smooth.

A picture tells all:

   

This was done with default values. Note that the smoothed path passes through all anchors of the original path. In fact, all anchors are preserved (with one exception, see below) and no new anchors are created; only new handles are made. So the plugin works differently from my recent corners-rounding plugin. To compare the two plugins, look at this:

   

In

https://www.gimp-forum.net/Thread-Roundi...6#pid23626

Rich recalled some old smoothing plugin. By my experiments the effect differs slightly from that of my simple plugin. I guess it uses some more sophisticated algorithm. This new simple plugin uses a simple local geometric construction, and it, for instance, makes no effort to minimize the deviation of the smoothed path from the original one.

Some words about the new plugin:

The GUI asks for 'strength'. Default is 1. Smaller values give tighter bends. There is also an option on how to use the selection: with it you can restrict the effect to a smaller part of the path.

The only option that needs explaining is that the plugin asks "Remove superfluous anchors from straight edges?" Default is "Yes". An example: Suppose you make a rectangular selection, rotate it, and apply "Selection to path". You get something like on the left, with lots of anchors:

   

If you apply here the plugin without removing the superfluous anchors you get what you probably were not after. Namely, all anchors are preserved and the result is not good. But if you keep the default value "Yes" you get what is seen on the right. That is what probably was wanted. Only 4 anchors are kept.

By the way, I had some problems with this option. I fear it may cause trouble in some cases. If so, please tell me and I shall see what I can do.

Print this item

  Tartan (a.k.a. plaid) cloth in a few easy steps
Posted by: Ofnuts - 06-06-2021, 08:27 AM - Forum: Tutorials and tips - Replies (5)

The fundamentals of the tartan cloth (plaid for americans) are well described on Wikipedia and are very simple. They are easy to reproduce on Gimp:

Creating the tartan "tile"

  • Create a small square image (this will be your tartan "tile"). Its side must be a multiple of 4 (for instance, 40x40)
  • Fill it with horizontal bands of color of different widths (usual tartan patterns use three colors, and there is a vertical symmetry).
  • Duplicate the layer
  • Rotate the top layer 90°
  • Add a layer mask to the top layer
  • Bucket fill the mask of the top layer with the attached TartanWarpMask pattern
  • And there you are
   

You can export the image at that point and put it (as .PNG or .PAT) in your patterns folders for later use.

For an immediate test, do Edit ➤ Copy visible and select the "Clipboard" pattern (always first in the list) then bucket-fill
your target image with the pattern

   



Attached Files
.zip   TartanWarpMask.zip (Size: 233 bytes / Downloads: 731)
Print this item

  Deselecting part of a fuzzy select
Posted by: stevetimko - 06-05-2021, 05:01 PM - Forum: General questions - Replies (2)

This happens to me all the time. I use fuzzy select to lighten part of the background in this booking photo. But if you look, it also goes onto the guy's jacket, which I don't want.
I don't have the time to go through and manually select the area so the jacket is left out. Is there a way I can quickly unselect the area on the jacket?
Sorry if this is such a noob question and thanks in advance for any help.



Attached Files Image(s)
   
Print this item

  gegl-0.4.30 failed the meson test.
Posted by: jiapei100 - 06-05-2021, 02:57 AM - Forum: Installation and usage - Replies (1)

meson test failed with the following ERROR mesage for gegl-0.4.30 .

Code:
➜  builddir meson test
ninja: Entering directory `....../gegl-0.4.30/builddir'
[213/320] Compiling C object gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-color.c.o
FAILED: gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-color.c.o
ccache cc -Igegl/libgegl-0.4.so.0.429.1.p -Igegl -I../gegl -I. -I.. -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-types -I/usr/local/include/babl-0.1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -g -DHAVE_CONFIG_H -Ofast -DGEGL_ENABLE_DEBUG -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -fPIC -pthread '-DLIBDIR="/usr/local/lib/x86_64-linux-gnu"' '-DG_LOG_DOMAIN="GEGL"' '-DGEGL_LOCALEDIR="/usr/local/share/locale"' -MD -MQ gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-color.c.o -MF gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-color.c.o.d -o gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-color.c.o -c ../gegl/opencl/gegl-cl-color.c
../gegl/opencl/gegl-cl-color.c:32:10: fatal error: opencl/colors.cl.h: No such file or directory
  32 | #include "opencl/colors.cl.h"
     |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[214/320] Compiling C object gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-init.c.o
FAILED: gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-init.c.o
ccache cc -Igegl/libgegl-0.4.so.0.429.1.p -Igegl -I../gegl -I. -I.. -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-types -I/usr/local/include/babl-0.1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -g -DHAVE_CONFIG_H -Ofast -DGEGL_ENABLE_DEBUG -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -fPIC -pthread '-DLIBDIR="/usr/local/lib/x86_64-linux-gnu"' '-DG_LOG_DOMAIN="GEGL"' '-DGEGL_LOCALEDIR="/usr/local/share/locale"' -MD -MQ gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-init.c.o -MF gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-init.c.o.d -o gegl/libgegl-0.4.so.0.429.1.p/opencl_gegl-cl-init.c.o -c ../gegl/opencl/gegl-cl-init.c
../gegl/opencl/gegl-cl-init.c:38:10: fatal error: opencl/random.cl.h: No such file or directory
  38 | #include "opencl/random.cl.h"
     |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Could not rebuild ....../gegl-0.4.30/builddir


Any suggestions please?

Print this item

  Disparities between stroke selection and stroke path
Posted by: CtrlAltDel - 06-04-2021, 11:16 PM - Forum: General questions - Replies (7)

What is the reason for the difference in results between stroke selection and stroke path?  Stroke selection is not perfectly round and not smooth and is twice as large as the stroke path operation performed on the same sized oval design.

Is there any way to get a smooth and true to shape result using stroke selection, or is that not the purpose of stroke selection?

[Image: uPDPTQN.png]

Print this item

  Tool Options Window
Posted by: sayluv - 06-04-2021, 05:38 PM - Forum: General questions - Replies (1)

Hi-

I have the latest version of OS X and Gimp 2.10.22 (revision 3).


What causes the Tool Options to pop out like in the attached pic and how do I move it back to where it was before?

Thx



Attached Files Thumbnail(s)
   
Print this item

  os mojave and 2.10 ....ok?
Posted by: Deanna - 06-04-2021, 04:36 PM - Forum: General questions - Replies (4)

Hi,

I'm using GIMP 2.8 and am contemplating whether I should upgrade to 2.10 (or not??).... but I'm on an older MBP that's a 2014 running OS Mojave. Can it handle Gimp 2.10? 

Also, if I do upgrade, will I lose anything in the different functions or will I have trouble opening my 2.8 projects after the upgrade.

Thanks!
Deanna

Print this item

Rainbow Pixel selection by rule
Posted by: aspiringutilitybot - 06-04-2021, 07:25 AM - Forum: Extending the GIMP - Replies (1)

Hi GIMPers,
I’m a scientist working on the colour of seafood. I want to get the average RGB value of the tissue I’m working on, but have it not be influenced by non-muscle tissue (fat) and not be influenced by specular reflection pixels. I’ve used the “select by color” tool to reasonably good effect (see attachments. "6 modified" is after processing, "6_cropped" is the input file), but it requires human input to select the color (around which range pixels will be selected) and the threshold (of how tight the range is). This is not adequate though for high-throughput sample processing, and not reproducible (from human decisions as above). I would like a script which:
1. Isolates the sample from the background
2. Removes pixels associated with non-muscle tissue and specular reflection pixels
3. Calculates average RGB values for remaining pixels
Step 2 could be based around a rule like: Make pixels transparent if R/G/B value lies outside “range specified by user based on color picking analysis of RGB values of unwanted pixels”.
My girlfriend coded one in Python (Github link: https://github.com/aspiringutilitybot/Pi...-of-inputs ), but I thought a GIMP script would be useful.



Attached Files Thumbnail(s)
       
Print this item

  weird thing
Posted by: yomanhi - 06-04-2021, 04:29 AM - Forum: General questions - Replies (2)

so i was doing something in gimp, but i hit a key or a combination and suddenly all of the windows and stuff disappeared, and it just had the image i was editing. how do i get it back to normal?


this is stupid but im new to gimp please help

wait its tab yay



Attached Files Thumbnail(s)
   
Print this item