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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,624
» Latest member: Josephmally
» Forum threads: 7,490
» Forum posts: 40,884

Full Statistics

Latest Threads
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: class43
23 minutes ago
» Replies: 2
» Views: 93
CMYK color mode Gimp 2.10
Forum: Extending the GIMP
Last Post: rich2005
3 hours ago
» Replies: 20
» Views: 82,144
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: GrumpyDeveloper
Yesterday, 09:52 PM
» Replies: 8
» Views: 2,943
Clone size randomly chang...
Forum: General questions
Last Post: oldschool1@runbox.com
Yesterday, 05:45 PM
» Replies: 2
» Views: 179
AI Gimp Plugins
Forum: Watercooler
Last Post: Zbyma72age
Yesterday, 03:31 PM
» Replies: 20
» Views: 53,469
Gimp closes automatically
Forum: General questions
Last Post: sallyanne
Yesterday, 05:50 AM
» Replies: 2
» Views: 200
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
07-16-2025, 11:10 AM
» Replies: 12
» Views: 3,826
Is This Possible ? Print ...
Forum: General questions
Last Post: sallyanne
07-16-2025, 07:47 AM
» Replies: 4
» Views: 205
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-16-2025, 07:16 AM
» Replies: 1
» Views: 147
producing an image
Forum: Gallery
Last Post: MJ Barmish
07-15-2025, 06:37 PM
» Replies: 0
» Views: 112

 
  Reproduce a cover page
Posted by: Missidi971 - 03-27-2021, 04:20 PM - Forum: General questions - Replies (4)

Hello !
 
I am trying to reproduce a cover page, in order to have a clean and crisp effect and replace the one I tore. When printing the copy I own, the image is quite faint with no glow.

Is this feasible or impossible for a beginner?
 
I tried GIMP, but it's quite complicated to understand.
I put you a piece of the cover page in picture, in order to have an idea

Thanks
 
[Image: CKwtDQuWcAAOrWc?format=jpg&name=small]

Print this item

  vector issue
Posted by: loolaeel - 03-27-2021, 01:50 PM - Forum: General questions - Replies (1)

hi everyone, hope you are well. Im importing a vector on path onto a layer that is 3000 by 800. Howeever the vector seems stretched and lying flat. I tried using 3d transform and perspective but Im messing the shape up. Is there a better way to resize the shape better? Thank you



Attached Files Thumbnail(s)
   
Print this item

  Set layer color based on other layers
Posted by: Hellcolik - 03-27-2021, 12:04 PM - Forum: General questions - Replies (3)

Hello, this is my first post here ; I'm wondering what are the limits of Gimp without using external python scripts.

I have two layers in a project:

  • the back layer is a picture on which I applied a Gaussian blur filter ;
  • the front layer in only a text.
I would like the text layer to change depending on where it is above the back layer. For instance, I would like to order it : "to set the color of this pixel of yours, look at the color of the pixels on the layer behind you, centered at the same location, take the negative of that color and apply it to yourself".

What are the tools/menus I need to be familiar with in order to perform such a task? I would be able to do this with a python script however, I only want to use Gimp.

Thanks in advance, I'm looking forward to reading your answers.

Print this item

  How to prevent GIMP from rearranging colour map?
Posted by: Malvineous - 03-26-2021, 11:12 AM - Forum: General questions - Replies (2)

Hi all,

I have a 256-colour indexed image I generated with a program I am working on.  I want to load it in GIMP, modify a few pixels, and then save it again.

However when I do this, GIMP rearranges the colour map, swapping entries 0 and 1.  When I read the image back with my program, these two colours appear wrong as they are supposed to match an existing external palette.

If I use the "Colors | Map | Rearrange Colormap" option to swap entries 0 and 1 to put them back in their original order, when I save the file and reload it I find that GIMP has put them back the wrong way around.

If I load and save the file with the colours the wrong way around GIMP leaves them alone!

I cannot work out how to get GIMP to save the file without rearranging the palette.

Am I doing something wrong?  I'm using GIMP 2.10.22 and this is the file I am trying to edit.  Entry 0 is meant to be black and entry 1 is meant to be dark blue, which is shown when the image is first loaded, but it seems impossible to save the image like this, with black as 0 and blue as 1.

Any suggestions would be appreciated!

Print this item

  Warping a path
Posted by: Ottia Tuota - 03-25-2021, 08:02 AM - Forum: Extending the GIMP - Replies (6)

I got the idea to try to implement warping of paths, similar to Gimp's tool Warp Transform on images. I show now what I managed to make. Not quite similar but close.

See the picture below. The grid is actually the path that I warp. I use this path in this example since it shows the effects best. The warping is done inside a given circle, so that it is a local operation. The plugin has three modes of action: Grow, Shrink, and Swirl (counter-clockwise or clockwise). The picture shows an example of each, applied to the grid path:

   

The blue circles do not belong to the transformed path; they are here just to show the circles of action. The circle is input by the user as a 2-anchors path (meaning either a diameter or the center and one point on the circle).

The plugin has two parameters: Smoothing and Strength. Smoothing controls what happens at the edge of the circle. If Smoothing = 0, there will be sharp bends like in the picture above. When Smoothing > 0, the bends are rounded. The rounding happens inside the circle. The other parameter, Strength, controls the amount of the warping effect.

In the above picture Smoothing=0 and and Strength=1 (the defaults).

Here are the same examples as above but with Smoothing = 5 and Strength = 0.8 (recall that the blue circles do not belong to the path):

   

Good values for Smoothing are 0..10 but you can go higher. Strength accepts values 0..1.

Strength seems to work similarly to the Strength parameter in Gimp's Warp Transform tool. But Smoothing is nothing like the Hardness parameter in Warp Transfrom. And the figure on the left in the first picture (Grow) is something that the Warp Transform cannot produce. The effects of Grow in my plugin and in Warp Transform are very different even though with some parameter values they come rather close. But of course I have no idea what the formulas behind the Warp Transform are.

It appeared that while the warpings on the grid are quite pretty (to my eye at least), trying something more practical needs some care to get acceptable results. Here I tried a text. Left to right: Grow, Shrink, Swirl(cw), all with some smoothing (and now without the blue circles):

   

Another one. These three houses were made from the same straight-edged figure with Copy, Scale, and Warp:


   

The plugin has one serious drawback: It is based on my own rickety approximation algorithm that I have used before. I really wish I had something better. If you want fast work, you get either a lousy result or a vast number of control points. If you want good work with few control points, you have to wait with patience. This cannot be helped for the time being.

To get the plugin, go to

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

scroll to the bottom, and click the download button. You get a zip file. Unzip it and place the one file it contains (warp_path.py) in your user's plug-ins folder. Then (re)start Gimp.

To invoke the plugins, go to the Paths tab, right-click some path and follow the links
Tools > Warping > ...

If you find strange behaviour by the plugin, please tell me.

Print this item

  gimpfu view-display-filters?
Posted by: Anonymous - 03-24-2021, 05:53 PM - Forum: Scripting questions - Replies (1)

Hello, I'm trying to automate the addition of a contrast filter in GIMP, but I'm stuck.

Today I learned to make a GIMP plugin following a Youtube tutorial, and I started to modify it to do my task. The problem is that the only gimpfu function with "contrast" anywhere is pdb.gimp_drawable_brightness_contrast(drawable, brightness, contrast), which does not produce the same effect, but rather something like a photo filter.

I searched the python procedure examiner (i don't know if I translated that properly), and there's not a single function with "filter" in its name. The deepest function-like name I found was the one in the title, through testing in the shortcut configuration panel.

Can anybody help me? Thank you

Print this item

  popup cards
Posted by: denzjos - 03-24-2021, 05:37 PM - Forum: Other graphics software - Replies (2)

Popup cards, every time a surprise when open one. To make such a card, OAcard can help you :https://caa1211.github.io/webOAcard/. One can save a design to work further another time (.oa file) or one can save the design as png file. One can load the png file in gimp to create a piece of art.
[attachment=5786]
The gimp .OA file
[attachment=5787]

Print this item

  Stroking a path with a pattern.
Posted by: rickk - 03-24-2021, 04:34 PM - Forum: General questions - Replies (19)

Just wondering if I am overlooking something. 

 In the following sketch: 

#1  is the pattern I am using, 

#2  is an example of how I would  like the final appearance of my stroked path, to appear

#3  is an example  stroked path, depicting the misalignment that I am hoping to correct

#4  is where I believe my problem is, the pattern actually arranges itself in a symmetric grid,  and the stroked path is merely a              mask over it, or, perhaps another way to say it is that the path is not "content aware"?

Is there something I am missing that will force the painting of the pattern to follow within the confines of the path?

[Image: YpyYCCb.png]


Ultimately, I'm hoping to find a way to do something like this, except curved along the specified path

[Image: njblmqz.png]

Thanks for your time.

Print this item

  electric circuit
Posted by: denzjos - 03-24-2021, 09:18 AM - Forum: Other graphics software - No Replies

Need for a electric circuit diagram for education and don't want to draw all the components of your own? This can help you : https://www.circuit-diagram.org/editor/ .One can save the drawing as svg file and load it in inkscape. When you want to use it in gimp then save it in inkscape as simple svg, make a create a new image, import the svg file as path (need for bigger result : scale the paths) and stroke the paths. 
   
A simple gif file :

.zip   lamp battery corr.zip (Size: 4.62 KB / Downloads: 457)

Print this item

  Font changes when exporting to pdf
Posted by: rebs2603 - 03-23-2021, 09:50 PM - Forum: General questions - Replies (2)

Hello,
I've been using gimp a while (but still a learner) and have happily exported xcf images to pdf, which I have then viewed in preview on my Mac or Acrobat Reader. The type face I used is 'Architect's Daughter', imported into Gimp. However, today (when I was trying to rotate a pdf in Reader), the typeface on the pdfs changed to a sans serif default typeface in Acrobat Reader and preview.
My husband can send me pdfs (exported xcf files  (2.10) and I can read them fine in preview or Reader ie the correct type face. 
I'm assuming that something has changed in my gimp export settings to affect the conversion to pdf. The 'Architect's Daughter' still works in gimp but it just won't convert.
Any help much appreciated. Sad

Print this item