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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,544
» Latest member: phoebus
» Forum threads: 7,142
» Forum posts: 39,060

Full Statistics

Latest Threads
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: phoebus
22 minutes ago
» Replies: 2
» Views: 18
Using the GIMP Manual
Forum: General questions
Last Post: Ofnuts
3 hours ago
» Replies: 4
» Views: 4,242
Converting grayscale imag...
Forum: General questions
Last Post: bwestoz
10 hours ago
» Replies: 7
» Views: 646
Correcting perspective fr...
Forum: General questions
Last Post: Tas_mania
Yesterday, 08:17 PM
» Replies: 10
» Views: 339
Recovering a logo
Forum: Gallery
Last Post: denzjos
Yesterday, 07:28 PM
» Replies: 1
» Views: 446
Resize used RIS.
Forum: Extending the GIMP
Last Post: zvezdochiot
Yesterday, 01:25 PM
» Replies: 6
» Views: 719
Gimp 3.0 AppImage and G'M...
Forum: Extending the GIMP
Last Post: CtrlAltDel
02-05-2025, 10:13 PM
» Replies: 4
» Views: 168
Does GIMP work well on wi...
Forum: General questions
Last Post: rich2005
02-05-2025, 06:27 PM
» Replies: 3
» Views: 189
How to remove notepad lin...
Forum: General questions
Last Post: rich2005
02-05-2025, 06:14 PM
» Replies: 2
» Views: 151
coffee time
Forum: Watercooler
Last Post: denzjos
02-05-2025, 06:01 PM
» Replies: 2
» Views: 473

 
  PyGimp;Change color;Bucket fill selected
Posted by: FloppaDisk - 03-15-2020, 07:08 AM - Forum: Scripting questions - Replies (2)

Hi. Trying to change the color of the bucket fill function in python gimp, but due to my inexperience with python and the structure between gimp and python i have not been successful.
Information im looking for is:
  How to swap the pre-selected colors
  How to set new color
  How to fill and selected area
  How to select and area

All of which needs to take place in pyGimp

The bellow code is what i have so far, but the result is what i expect.
Expected result should be an grid (almost like a chess board) where pyGimp color individual squares in one of the two colors (foreground and background)

#Select and square
pdb.gimp_rect_select(img, gPosX+pX, gPosY+pY, wid, hig, CHANNEL_OP_REPLACE, False, 0.0)
#Fill the square
draw.fill(FILL_FOREGROUND)

Print this item

  Loss of quality though PDF files
Posted by: huckel - 03-14-2020, 10:41 PM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (5)

Hi
I am running gimp 2.8 and I am importing PDF files. And on all PDF files that I have imported there is a loss of quality. However this dose not happen if I import a jpeg

Print this item

  How to remove unwanted line on Gimp 2.10.14
Posted by: Hoodiefiend - 03-13-2020, 05:07 PM - Forum: General questions - Replies (5)

Hi there,

I've been trying to figure out how to remove the outline of the adjusted "twitch logo" in my attachment picture.
If you look carefully, you will see a previous outline after i scaled the twitch logo down.

How do i remove that outline??
Thank you so much



Attached Files Image(s)
   
Print this item

  color wheel in gimp method?
Posted by: marigolden - 03-12-2020, 03:59 PM - Forum: General questions - Replies (14)

Any idea on how to make a color wheel in gimp?
Just a simple pie visual, except instead of for the purpose of percentages it's just to show the rainbow +3 other colors (white, brown, and black) so 9 colors in all

Print this item

  Parametric curves
Posted by: Ottia Tuota - 03-12-2020, 01:21 PM - Forum: Extending the GIMP - Replies (16)

Hello!

Here are my first two plugins. With them you can draw parametric curves (or polar curves) in Gimp, approximately as Bézier curves. If you go to

http://kmarkku.arkku.net/

and click the link Simple Parametric Curves, and scroll down to the bottom, you find a button to download a .zip file. The items in the .zip file are:

- simple_parametric_curve.py (this is the plugins)
- doc.pdf (the documentation)
- example_files (this is a folder; see the site for explanation).

To install do:

1. Download the .zip file.
2. Unzip it.
3. Put the file simple_parametric_curve.py in your Gimp's plug-ins folder.
4. Restart Gimp.
5. Then the two plugins should appear in Gimp's menu at
     Filters / Render / Parametric curves.
Their names are 'Simple parametric curve' and 'Simple polar curve'.

You had better then start by glancing through what the site tells. Then glance at the file doc.pdf.  If the plugins interest you, you had better read doc.pdf more thoroughly at some point.

The task is to draw a parametric curve. That is what the first plugin, Simple parametric curve, does. The second, Simple polar curve, draws a curve given in polar form. (I assume here that you have some idea what those mean, so I don't explain). By "drawing" I mean that the plugin constructs the curve as a Bézier curve. In Gimp that means a path or a vectors object. So, if you want to stroke the curve, you have to do it yourself.

Since only very few curves can be faithfully represented as a Bézier curve, the produced path is just an approximation of the requested parametric curve.

Inkscape has a tool for such job. But it is even more simple than my plugins. To get an accurate result with it, one often has to make it to put control points densely on the curve. My plugin works in the opposite way: It tries to use only a sparse set of control points. That makes the problem of approximation quite non-trivial. The algorithms are my own.

You may wonder why I call my plugins simple. The reason is that I shall soon be sharing with you a third plugin which is developed much further, works much better, but is more difficult to use. (Though, if you feed the inputs in the GUI and not in an input file, there is not much difference. What these words mean, please see the explanations on the site or in doc.pdf.) I believe that in practice the simple plugins will be the ones most used.

I was hoping to include a picture but it seems that it cannot be uploaded here, only a link to somewhere else. So, please download the .zip file and look at the file doc.pdf there. It has some pictures.

Now I'd like to say a little of my background. I am a mathematician, already retired, who knows very little about computers or coding. Making such plugins came to me as a hobby some years ago. I was hooked and still am. I have been learning Python along the way. I used a much older version of my plugin when I wrote some lecture notes in mathematics as my last task before retirement in 2016. All curves I draw using my own plugin. So the plugin has been applied in a useful job even before publication.

If you have questions or problems with the plugins, please just ask.

Print this item

  Apply stroke to text in Gegl?
Posted by: JasonP - 03-12-2020, 12:27 PM - Forum: General questions - Replies (3)

Hi,

This isn't really a Gimp question, but I'm having trouble finding a better place to post it - please feel free to redirect me if appropriate.  I've been feeding xml files to the Gegl command line application to process photos - applying a crop, doing rotations, compositing, adding text, etc.  But now I've been asked to add dropshadows and strokes to the text.  Dropshadows were easy... but it looks like to apply a stroke, I'd need to somehow define a path around the text.  I've been all over the (somewhat sparse) documentation, but I can't find anything that even gives me a starting point on how to do that.  Does anyone here have any suggestions for doing this in an automated fashion?

Thanks,
Jason

Print this item

  How to reduce noise density
Posted by: meetdilip - 03-12-2020, 09:11 AM - Forum: General questions - Replies (3)

These are made by duplicating the same text layer

   

First one is Fliters > Noise > CIE Ich Noise and the second one is made using a custom pattern I built from a noise image. My initial goal way to make the second for which I had to use the pattern.

I was hoping to learn how to make the density of noise less in the output. Currently, it is either too much noise or medium noise. No way to do as in the one created by the pattern ( less noise ).

Any help will be great. Thanks.

Print this item

  scanner app
Posted by: denno - 03-12-2020, 02:41 AM - Forum: General questions - Replies (1)

Greetings
I am a new user.  Used to use PS 7 or so, but with any changes in computer can no longer register my copy....

One thing I liked in PS was the scanner app.  The one in GIMP seems much more primitive.
Does this mean I don't know how to use it to the fullest, or it is more primitive?
I am no genius at this, but I could easily change some settings and dpi.  This one seems less detailed.

Is there something fancier available, or you reckon I should get "fancy" with the post-scan manipulation.

I do want to remark that the changes in nomenclature make it take some time to adjust from PS.  Yeah, yeah, yeah....read the manual.

denno

Print this item

  Change one color of a 2 color picture
Posted by: kbrick66 - 03-12-2020, 01:19 AM - Forum: General questions - Replies (6)

I took a picture of an antique radio dial and I want to clean it up to print a new face. I've got it cleaned up but I want to change the color of the text on the black background. Is there a way to change the color of the text only to another color in one action? I'm new to GIMP and the controls are a bit overwhelming. Thanks for any help.

Ken

Print this item

  Extending an image background
Posted by: aridavid5 - 03-11-2020, 08:37 PM - Forum: General questions - Replies (6)

I've tried using the resynth plugin and I have not succeeded. Maybe I'm doing it wrong. I don't know. I'm including a video of exactly what I wish to accomplish with Gimp. (In the video it was done with Photoshop) https://youtu.be/jO9EFFsWV3c

Print this item