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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,318
» Latest member: MonkeyPutter
» Forum threads: 6,643
» Forum posts: 36,194

Full Statistics

Latest Threads
embossed letters
Forum: General questions
Last Post: PixLab
6 hours ago
» Replies: 2
» Views: 83
How to edit existing path...
Forum: General questions
Last Post: rich2005
6 hours ago
» Replies: 1
» Views: 35
the beginning of the end....
Forum: Watercooler
Last Post: PixLab
6 hours ago
» Replies: 1
» Views: 81
Think about who comes aft...
Forum: Watercooler
Last Post: denzjos
Yesterday, 06:08 PM
» Replies: 0
» Views: 48
How to make a selection o...
Forum: General questions
Last Post: andyseabrook
Yesterday, 02:38 PM
» Replies: 6
» Views: 201
Stain removal suggestions...
Forum: General questions
Last Post: sallyanne
Yesterday, 03:29 AM
» Replies: 19
» Views: 860
Threading / Loops in Pyth...
Forum: Scripting questions
Last Post: JBreckeen
Yesterday, 01:09 AM
» Replies: 13
» Views: 1,107
Export as question
Forum: General questions
Last Post: programmer_ceds
04-18-2024, 04:29 PM
» Replies: 2
» Views: 127
Fatal crash on quit - aft...
Forum: Linux and other Unixen
Last Post: Grobe
04-18-2024, 02:32 PM
» Replies: 3
» Views: 224
can we re-color this patc...
Forum: General questions
Last Post: saint_m
04-18-2024, 08:27 AM
» Replies: 15
» Views: 467

 
  [split] Gimp 2.10 Type text on a circle path
Posted by: StageMan - 05-29-2021, 03:11 PM - Forum: General questions - Replies (1)

Hello Ricardo, 

I'm new to Gimp 2.10.22 (2 months).

I'm wondering if the text can be offset from the "text along path" circle, either higher or lower. So the path line of the circle isn't running through the middle of the text. 

Chris

Print this item

  Not what was expected
Posted by: rich2005 - 05-29-2021, 11:20 AM - Forum: Watercooler - No Replies

This from the local newspaper.

   

Inside a small industrial unit. The police raided it after 'suspicious' people seen going in-and-out, drone infrared saw a large heat source, electricity illegally hooked up bypassing any meter.  The police expected to find a cannabis farm, instead found a bitcoin mine.  Looks a bit like the back of my desk Wink

The original report: https://www.thenorthernecho.co.uk/news/n...-midlands/

Print this item

Question Gimp on Linux with OpenCL
Posted by: alain.roger - 05-29-2021, 09:09 AM - Forum: General questions - Replies (2)

Hi,

I use GIMP 2.10.24 under Ubuntu 20.10 and I would like to improve the speed of my workflow, using my nVidia RTX2070 OpenCL features.

However I did not find any setting in Edit -> Preferences -> System Resources relative to OpenCL or nVidia (screenshot).

Any idea would be welcome.

Thx a lot.



Attached Files Thumbnail(s)
   
Print this item

  image enlarged bigger than layer and some is cut off
Posted by: Deanna - 05-28-2021, 09:00 PM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (2)

Hi,

I'm making a book cover that has different pictures on different layers. An image I brought in as a layer, that I then enlarged, now extends past the edge of the layer and is getting cut off.

Is there a way to fix it and also to not have this happen again?


The arrows show where it's getting cut off.


Thanks for any assistance!

Deanna

OS Mojave
MBP

GIMP 2.8.22

   

Print this item

  Can't copy layer mask to another project
Posted by: GMP - 05-27-2021, 10:34 PM - Forum: General questions - Replies (2)

Can I copy a layer mask I have on a pic into another project? When I do it I end up with the original pic with no layer mask.

I have several layer masks of different faces and it would be convenient if I could. Copy them to another project. The only way I can do it is to open the project with the layer mask and delete all the other layers and drag in a new base pic to go with the face, then rename the file.

Any other way to do this?

Print this item

  Processing RAW w/o demosaic
Posted by: BenjyvC - 05-27-2021, 10:14 PM - Forum: General questions - Replies (2)

Hello,

I work with photogrammetry, am interested to experiment with using separate processes of RAW, the conventional for projecting color to the model and outputting texture maps, the other for scene reconstruction itself. I'm unsure how any SfM engine will deal with an image that hasn't been demosaic'd (or deBayered), but what I stand to gain in improved resolution of the geometry is worth investigating. Can anyone suggest how this might be made to work? Simply the RAW data saved to 16-bit TIFF holds promise. I could then apply sharpening, though I'm unsure if sharpening won't like the Bayer pattern of 2 green pixels for every one red and one blue pixel. I'm reading about pan-sharpening, which accomplishes exactly that, but is part of a commercial package that includes a host of features I don't need, and is a Python scripted thing over cloud-based that probably costs a ton, as it relates to processing global imagery. Many thanks for ideas.

Print this item

Exclamation How do I cut pixels?
Posted by: bkorb - 05-27-2021, 02:16 PM - Forum: General questions - Replies (6)

1. I cut some pixels and they were replaced by the background color. Erasing didn't work either. Cutting pixels is supposed to make the next layer visible where I've cut the pixels. I had to use a mask.
2. I pasted the pixels and the pixels were empty. (I pasted and limited visibility to the anchored-to layer.)
3. I used the paintbrush (pencil) and it said it would only do white. I couldn't change it to black. Even as a white brush, I couldn't paint the white into an empty layer

Since I don't know how to change default behavior, I have no idea what is wrong. I could copy the file over to my Mac and use Photoshop, but for a quick edit of a PNG file, I'd rather just use Gimp as I've been able to do for the last couple of decades.
But not anymore. Huh

Print this item

  Rounding corners of a straight-edge path
Posted by: Ottia Tuota - 05-27-2021, 12:19 PM - Forum: Extending the GIMP - Replies (13)

I made a plugin to round path corners. (Again I can't help wondering if I am just re-inventing the wheel. But at least it is a new wheel.) The plugin assumes that the path consists of straight line segments. Example: With default input values the plugin did this:

   

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. You get a zip file. Unzip it and place the one file it contains (round_path_corners.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 > Round corners.

I explain a little about the inputs.

The first input is "Where to set arc ends". It offers two choices: the default is "Use fixed distance from vertices", and the other one I skip now entirely. The value for 'distance' is input in the next field. The picture shows the meaning of "distance":

   

(One fact may cause surprises: In the code it is prohibited that the arc ends could go past the midpoints of the corner legs. The purpose is to avoid that two neighbouring arcs might get mixed up with each other.)

The next input allows the user to choose the shape of the arc. The list of the built-in shapes is:

  • circular
  • straight
  • parabola
  • close to vertex
  • through vertex
  • cusp

In addition, there is a customizable shape about which I talk in a subsequent post; it takes one parameter which is the next input, and I say nothing about that now. The built-in shapes are shown in pictures:

   

Finally, the last input is "How to use the selection?" which allows the user to make roundings only in some part of the path, keeping the rest untouched (just about). About this I give one example. Suppose you have a path as on the left below. You want to round the corners but want to preserve the long arc. Running the plugin as such would lose the arc (the plugin assumes that the path consists of straight edges and ignores all curvatures). You can protect the long arc as follows: (1) Create a new anchor; (2) make a selection; (3) call the plugin with "Round the corners only inside the selection." The result may be close to what you want, hopefully. (Or maybe not. Some manual tweaking may be needed.)

   

Writing the plugin had complications, as always, and I am not sure that I got everything right. Please tell me if you find the plugin doing anything unruly.

I explain now a little about how the plugin makes the rounding arcs. (I hesitate posting this since hardly anybody wants to read such details, but I think that maybe, just maybe, somebody somewhere will find it useful. And it is easy just to skip it.)

The plugin uses two different algorithms:

  1. An algorithm to make circular arcs.
  2. An algorithm customizable with one parameter (this handles all other cases except the circular arcs).
Some words about each. For simplicity, I assume that we are using the option "Use fixed distance...".

Algorithm 1

The algorithm to draw circular arcs is based on the well-known idea. But it is here in a disguise: Instead of a center and central angle, it takes as input a tangent triangle.

Algorithm 2

The algorithm customizable with one parameter takes as input one parameter (in addition to the corner and the distance from the vertex). Look at the picture below. It shows how the control points are chosen by the algorithm. First, |AC| = |BC| = distance (the input value). The arc should be drawn from A to B. It is done by control points A,X,Y,B where X and Y are chosen from the legs so that |AX|/|AC| = |BY|/|BC| = parameter. So that is the definition the algorithm uses.

   


In the GUI of the plugin you may wonder what the numbers in the list of built-in shapes mean:

straight (0)
parabola (2/3)
close to vertex (1)
through vertex (4/3)
cusp (2)

They are the preset parameter values; they are hard-coded in the built-in cases, and with those parameter values the algorithm draws a straight line, a parabola, and so on.

But in addition to these preset values, you may use any custom value: choose the option "one-parametric custom shape" and input some value for the parameter (default is 0.5). For instance, you may want to try arcs flatter than circular but not quite straight; try then parameter=0.3, for example. Any float number can be used, even negative (but not in fractional form unfortunately).

Another example:

   

Here the plugin was applied to the hexagon with "Use midpoints of edges" and custom shape with parameter = 6.

Some random thoughts: I am thinking that it might be nice to have more flexibility in determining the shape of the arcs. But on the other hand I think that it would not be worth the trouble. It would mean more parameters and would therefore be difficult to grasp and difficult to use. But if a good scenario for such function could be designed (flexible, versatile, simple, easy to grasp and control - is it possible?) then I think it would be easily added into the plugin. I already had a two-parametric custom shape there. But I dropped it. Too difficult, too little gain.

Print this item

  Etching effect
Posted by: Borgward1 - 05-27-2021, 04:46 AM - Forum: General questions - Replies (1)

Is there a plugin or way to make a B&W photo look like an etching?

Print this item

  Fully Transparent Text + How To Create It?
Posted by: CtrlAltDel - 05-27-2021, 01:53 AM - Forum: General questions - Replies (4)

This question was inspired by Meetdilip's recent thread about the rubber stamp plugin. Upon trying to create some extra transparent text to add into the results of the output of the rubber stamp plugin, I realized I had no idea how to create transparent text.

I managed to use the Layer Effect-Drop-Shadow filter to create a semi-transparent text addition to the output, but was hoping for fully transparent text effects just as the Rubber Stamp plugin creates.  To illustrate the failure I encountered, a red background was added to the image below.  As can be seen, the text/username "Altie" is not fully transparent.

[Image: FqccjBi.png]

Print this item