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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,950
» Latest member: Jeffreythomy
» Forum threads: 7,710
» Forum posts: 41,919

Full Statistics

Latest Threads
Gimp 3 path tool auto con...
Forum: General questions
Last Post: teapot
5 minutes ago
» Replies: 0
» Views: 4
How to transform a layer ...
Forum: General questions
Last Post: teapot
15 minutes ago
» Replies: 4
» Views: 155
Issue with Gradient Flare...
Forum: General questions
Last Post: ldd2
9 hours ago
» Replies: 5
» Views: 261
Gimp 3.0.6 Python plug-in...
Forum: Scripting questions
Last Post: Volker
10 hours ago
» Replies: 4
» Views: 173
Wall Of Fractal Featuring...
Forum: Gallery
Last Post: Tas_mania
11 hours ago
» Replies: 0
» Views: 64
Text Editor hardly ever w...
Forum: General questions
Last Post: sallyanne
Yesterday, 01:29 PM
» Replies: 6
» Views: 566
Ubuntu - Right way to cra...
Forum: Linux and other Unixen
Last Post: ExplodingCabbage
11-18-2025, 08:01 PM
» Replies: 2
» Views: 204
What exactly tutorials ar...
Forum: General questions
Last Post: SleipnirTheHorse
11-18-2025, 02:32 PM
» Replies: 5
» Views: 450
Random Clone
Forum: General questions
Last Post: mrkid
11-18-2025, 01:26 PM
» Replies: 3
» Views: 267
Problem with Gimp 3 Pytho...
Forum: Scripting questions
Last Post: Volker
11-18-2025, 11:03 AM
» Replies: 7
» Views: 468

 
  Creating a path from the center points of a selection?
Posted by: eepjr24 - 11-13-2020, 11:33 PM - Forum: General questions - Replies (17)

If I have a selection, for simplicity sake we'll start with a 50 pixel wide line at a 45 degree angle from top left to bottom right. How do I create a path that traverses the approximate center of the selection and is one pixel wide?

I know how to create a selection, shrink a selection, create a path from a selection. But simply shrinking will either end you up with gaps in the path or with areas that are wider than a pixel in the path if there is any deviation in the width. I am fine if this is something I need to do programatically (learning Python, know multiple other languages) if someone can point me in the right direction or the terminology to look for to execute this type of operation. I am no great mathematician, but I can muddle through most geometry and basic trig. And I am fine with putting in time to experiment as necessary.

Edit: Using GIMP 2.10.22 but can upgrade if needed, Win 10 64 bit.

- Ernie



Attached Files Thumbnail(s)
   
Print this item

Question GIMP 2.10.14 doesn't work on MacOS Big Sur
Posted by: nvsyba - 11-13-2020, 07:12 PM - Forum: OSX - Replies (21)

I updated my MacBook last night to Big Sur and tried to use Gimp but the program didn't work at all. I'm not able to select by color, Fill with BG/FG nor am I able to edit any images. I've reinstalled the program multiple times in hopes of it working again but all failed, is anyone else facing anything like this? I've updated my laptop before as well but never faced any problems like this. Please let me know ASAP! thanks   Smile

Print this item

  Brush always black
Posted by: meetdilip - 11-13-2020, 01:40 PM - Forum: Extending the GIMP - No Replies

I drew an SVG > exported as PNG > opened in GIMP > saved as .gbr

The brush loads fine on GIMP, but sadly it is always a black imprint, no matter what Foreground colour I choose. I remember setting the colour to null somewhere during the process. It will be nice to learn how to fix this and make the brush honour the FG colour. Thanks.


LGN has a video on this with the solution. The image should be converted to greyscale mode before exporting to .gbr . Working now.

Print this item

  Only Basic brushes, others greyed out
Posted by: meetdilip - 11-13-2020, 12:36 PM - Forum: General questions - Replies (2)

Since the last couple of days, possibly after 2.10.22 update, only the " Basic " set of brushes are visible. Others are there in the .config folder and they are set properly under folder path. But only " Basic " set it visible / selectable. Others are greyed out. I haven't touched any settings in a while. Any help on this will be awesome. Thanks.

Print this item

Shocked Path to Selection not working... SOLVED.
Posted by: Krikor - 11-12-2020, 09:52 PM - Forum: General questions - Replies (3)

I already found the solution!
Hi,
Using script guides for paths, I created 4 paths.
But when I try to select these paths for selection (Path To Selection) nothing happens.

But if I use the Rectangle Select Tool and create a selection and then transform it into a path, from that path I can select it via "Path to Selection '.
Obs: The "this path works" path I made with the Rectangle Select Tool.

I don't know where I'm going wrong.
Do the paths generated by the Guides To Path plugin behave differently?
How to make these paths be selected?

Quote:  Path summary Warning
Path "A8" [4]:
(0.0, 0.0) <- 2 : 154.0 : OPN -> (0.0, 154.0)
(154.0, 0.0) <- 2 : 154.0 : OPN -> (154.0, 154.0)
(0.0, 0.0) <- 2 : 154.0 : OPN -> (154.0, 0.0)
(0.0, 154.0) <- 2 : 154.0 : OPN -> (154.0, 154.0)

  Path summary Warning
Path "this path works" [1]:
(199.0, 145.0) <- 4 : 224.0 : CW  -> (199.0, 200.0)

I thank you for your help!

.xcf   4paths.xcf (Size: 462.19 KB / Downloads: 548)


Ok, with ofn-path-edits I managed to solve the problem !!
I used the option Join Strokes and voilà!


Now I can select the paths.

Print this item

  Create map fro boardgame
Posted by: mattias - 11-12-2020, 12:43 PM - Forum: General questions - Replies (6)

Hi
I will try to create my own boardgame and the background shall be a map. I would like it to look interesting and playful, something similair to the attached image. 
Does anyone have an idea of how i can turn a real map, eg Google maps, into this? It doesnt have to look exactly as the image but something that is suitable for a boardgame.

Maybe is possible to create a "stroke pattern" as the coastline or what do you suggest is the best approach? 

[Image: image.jfif]

Print this item

  How to mention person on forum in text?
Posted by: Konskoo - 11-12-2020, 06:22 AM - Forum: Gimp-Forum.net - Replies (2)

How to mention person on forum in text? Symbol @?

Print this item

  Create a layer mask of a Logo
Posted by: ProfoundHypnotic - 11-11-2020, 05:29 PM - Forum: General questions - Replies (3)

Hello,

I need to upload a mask to my shopify store for my clothing products so I can have a live preview of a chosen color on the product. my question is, can someone point me to documentation on how to make a layer mask of a logo that is on an image? I've tried googling the solution but I may not be using the right terms because I can't seem to find what I'm looking for. 

so for example, I have uploaded a picture of one of my hats. I have a 10 main colors that the Hat can be but the logo can be any color. Rather than uploading a ton of different images I am trying to have one picture for each product and then have the color previews so users can choose their color scheme. so how can I go about creating a mask of the logo on the image attached so I can upload to to shopify for the live preview? 

Here is a youtube video of something similar to what I'm looking to do. from 0:45-0:50 is what I am looking to create but for the logo attached. 
https://www.youtube.com/watch?v=GM63x8NKL68&t=55s


I really hope all my ramblings made sense but if not please let me know so I can clarify. 

Thanks in advance for your help!



Attached Files Image(s)
   
Print this item

  Improper fill
Posted by: meetdilip - 11-11-2020, 01:36 PM - Forum: General questions - Replies (8)

   

I have a requirement where I have to change the colour of this purple to green and yellow. I tried " selecting by colour, delete and then fill " . Then tried " Colorize ". Both had its own issues. Mainly burrs on the edges in the first case and the cloud colour also changing in the second method. So I gave up miserably and tried to select white, add a layer on top and then fill it with white. So that I get cloud and it is easier for me to manage the rest. But as you can see in the image above, there is this strange fog at the edges of the fill. Kindly help me fix it. Thanks.

Print this item

  GIMP batch: error
Posted by: cmorlighem - 11-11-2020, 08:51 AM - Forum: Extending the GIMP - Replies (1)

Hi, 


I'm new to Gimp and I need to use it from the command line as it is part of an automation process. 
I'm starting with a super simple command : 

gimp-2.10.exe -i -b "(let* ((image (car (file-tiff-load 1 C:\Users\Camille\Documents\test.tif C:\Users\Camille\Documents\test.tif)))))"

I keep getting this error: 

batch command experienced an execution error:
Error: eval: unbound variable: C:\Users\Camille\Documents\test.tif

I did lots of forum but I haven't found anything working. Also I tried with adding single/double quotes but doesn't change anything. I tried with -b "(gimp-quit 0)" in the end but doesn't change anything either and same when I use gimp-console-2.10.exe. 
I'm running the command with windows 10. 

Can anyone help me?

Print this item