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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,501
» Latest member: Tyroneemume
» Forum threads: 7,126
» Forum posts: 38,963

Full Statistics

Latest Threads
Love these euphemisms
Forum: Watercooler
Last Post: Tas_mania
8 minutes ago
» Replies: 1
» Views: 44
Missing Development menu ...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Rod
2 hours ago
» Replies: 0
» Views: 19
Does Windows 11 hide its ...
Forum: General questions
Last Post: gophersnake
10 hours ago
» Replies: 3
» Views: 118
ht set default compressio...
Forum: General questions
Last Post: Ofnuts
11 hours ago
» Replies: 5
» Views: 175
Font manager not managing...
Forum: Other graphics software
Last Post: Tailbit
Yesterday, 08:11 PM
» Replies: 17
» Views: 4,160
No layers saved in Gimp 3...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
Yesterday, 09:17 AM
» Replies: 2
» Views: 152
TableGimper released
Forum: Extending the GIMP
Last Post: ChameleonScales
01-30-2025, 10:52 AM
» Replies: 6
» Views: 2,635
Policy change
Forum: Gimp-Forum.net
Last Post: rich2005
01-28-2025, 09:05 PM
» Replies: 5
» Views: 274
Gimp Text Tool writing i...
Forum: General questions
Last Post: daiappy
01-28-2025, 11:39 AM
» Replies: 3
» Views: 278
Quick Easy Batch Operatio...
Forum: General questions
Last Post: rich2005
01-28-2025, 08:57 AM
» Replies: 6
» Views: 368

 
  Gradient used to mimic neutral density filter along horizon
Posted by: gstalnaker - 12-25-2018, 10:33 PM - Forum: General questions - Replies (12)

All,

After readying 10 pages from a search for "gradient" without finding something close to what I'd like, it's time to post to the Forum.

I've a landscape image. I want to simulate the affect of a neutral density filter. Steps fairly straight forward:

1. Layer 1 is base
2. Layer 2 (dup of Layer 1) is foreground edited as desired
3. Layer 3 (dup of Layer 1) is background edited as desired.
4. Layer 3 with mask; linear gradient applied to balance Layer 2 and Layer 3 across the horizon.

Applying the gradient, given how it works, creates a single, image-spanning horizonal at whatever angle, or not, I set. This is not optimal if, say, the horizon is a valley or is not flat. 

Q: is there some way of using the gradient tool such that it is not a flat gradient but follows some drawn line. For example, if I could pencil a line that follows the horizon that pass that to the gradient tool so that the gradient drawn is not "flat" but follows the non-flat horizon? I know I can actually draw a very wide brush using Hardness 025 but that does not come close to being as good as the gradient tool. I'd hoped that I might find "gradient along path" examples, but those are uniformly along the path and not across the path as I'm conceptualizing it.

Print this item

  Shifting RGB values of a single color channel
Posted by: tommyfrank - 12-23-2018, 04:51 AM - Forum: Scripting questions - Replies (2)

Hello, 

I’m a weaver and textile maker with no prior coding or programming experience. In researching and reading through posts on this and other message boards, I was able to find a lot of useful information, but nothing that I could clearly map on what it is I’m trying to do. I’m hoping someone can steer me in the right direction. 

I’m working with a set of 18x18 (324px), 8 bit RGB color PNGs which will ultimately be converted into weave structures. I am interested in implementing a script which will allow me to change the value of all pixels of a particular color channel. I’m seeing a number of posts describing how to change the color values of specific pixels, but little about making global changes to the color channels themselves.

I want to be able to manipulate each color channel separately. For example, I'd like to be able to edit all RED pixels in an image such that all R pixel values increase by, say, 2, while pixels containing no R remain unchanged. Additionally, I want to be able to specify a limit, e.g. if the maximum R value in the image is 178, all R pixel values equaling 178 will remain unchanged, while all pixels with R values less than 178 will increase in value by 2. 

I hope to be able to specify the channel (e.g. RED), amount of change (e.g. 2, 1, etc.), type of change (e.g. increase/decrease), and limit (e.g. n = 178, n = 0, n = 255, etc.) as those variables will need to be adjusted to satisfy different color palettes and weave structures.

I've tried achieving this in Photoshop and other graphics editors, but outside of selecting like pixels and adjusting their values manually, I haven't had luck in finding an effective solution for this.
 
I’m wondering 1) how feasible this is, 2) what programming language (Python, Java, etc) might provide the most straightforward, expedient solution and 3) if anybody has any tips about how go about writing a script like this (Script-Fu, OpenCV?) as this is all quite new to me.

Thanks in advance for your help,
TF

Print this item

  Van Gogh brushed Tree
Posted by: trandoductin - 12-23-2018, 12:31 AM - Forum: Gallery - No Replies

   

Print this item

  TGA files
Posted by: mholder - 12-22-2018, 09:41 PM - Forum: General questions - Replies (5)

Is there a plugin that can effectively open TGA files?  The default one that I have opens them, but all pixels are transparent

Print this item

  create logos 3D outline error
Posted by: denzjos - 12-22-2018, 06:08 PM - Forum: Extending the GIMP - Replies (2)

When I make a logo 3D outline with the default parameters, the last letter of the text is not full created :
   
   
When I change one of the paramaters of the logo 3D outline, Gimp crashed with an error and when I click on the error box, GIMP close down.
   
When I restart GIMP I get an recover choice :
   
When I recover the error I get this :
   
Is the error known ? I get no errors with the other logos.
If there is a solution, thanks in advance for any reaction

Denzjos

Print this item

  Trouble with ppi
Posted by: BoredPanda - 12-22-2018, 05:46 PM - Forum: General questions - Replies (1)

Hey everyone! I need to create a A3 image with 150 ppi but every time I try to change the size, it changes the ppi and whenever I try to change ppi it changes the size. Can you give the exact steps to follow? I'm going crazy here

Print this item

  Apply and Save/Load Preset for Layer-Effects Plug-in
Posted by: trandoductin - 12-22-2018, 04:17 PM - Forum: Extending the GIMP - No Replies

This plug-in will allow you Apply and Save presets (for layer effects) and allow you to Load and Apply saved presets.

Presets will be saved as .txt files under your working GIMP directory (wherever you execute GIMP from).
For example, for "bevel and emboss" presets, it'll be saved under bevel_and_emboss.txt.
So you can share your preset settings with others or edit the corresponding .txt files yourself to add presets that you've gotten from others yourself.

All of the plug-in's menu locations will appear under Layer/Layer Effects/
for example for bevel and emboss: you'll find "Apply and Save Preset Bevel and Emboss" and "Load Preset Bevel and Emboss" (similarly for other layer effects) under Layer/Layer/Effects/

There is also a "Load Preset Apply All" which will apply all layer effects presets with the same preset name.
This way you can save multiple layer effects with preset name so that the "Load Preset Apply All" can apply them all in one go to act like a single effect (with multiple layer-effects).

The plug-in can be downloaded from here

Print this item

  Issues with the rotating tool
Posted by: LostCoastlines - 12-22-2018, 05:57 AM - Forum: General questions - Replies (2)

Hi there

So I am having some issues with the rotating tool. I am creating a map, and I want to rotate a layer around 10 degrees to fit in with the rest of the image. The only issue is that it rearranges and adds the pixels around on the layer image. 

I was wondering if there was a way to prevent this or a work around to it? I've tried to deal with it and edit the pixels manually, but the image seems to too distorted and rearranged for it to work.

For reference here part of the image
[Image: XZBR1f8.png]

And here is the image rotated
[Image: 2UpjB3A.png]

Any help/advice would be much appreciated! Even if you know a program I can export the map to, rotate then export back to GIMP

Thank you

Print this item

  Resynthisizer Error
Posted by: levinethemachine - 12-21-2018, 08:11 PM - Forum: General questions - Replies (1)

Hello.

New user.

Windows 8.1 Professional

Gimp 2.10.8

Resynthesizer give no version

The error happens on some images and not others.

The error happens at different places in an image.

When the error happens, it seems to create a new layer. This layer consists of the selected area. 

Very odd.

It would be nice to know what it is about an image/spot in an image - that causes this.

Please let me know if I can provide any useful information.

Thanks.

Print this item

  Resynthisizer Heal Selection Runtime Error
Posted by: gstalnaker - 12-20-2018, 05:33 AM - Forum: General questions - Replies (12)

I'm using GIMP 2.10.8 (updated because of this issue) on Windows 10 Home Edition, with the 64-bit version of the Resynthesizer plugins/execs. I've used this plugin very frequently in the past with GIMP 2.8.x for fixing damaged BW images (family photos from the 50s/60s). My normal process for these RGB, 16-bit grayscale images is to:

  1. use Wavelet Decompose to create detail layers
  2. dup a detail layer
  3. use Levels to enhance the damage on the dupped layer
  4. paint over the damage on the dupped layer with color X
  5. select by color X
  6. click on the original detail layer so selection applies to it
  7. run Heal Selection.
Now when I do this the Heal Selection process throws an error (see attached image): "RuntimeError: The texture source is empty. Does any selection include non-transparent pixels?"
I dimly recall having an issue like this in the past. I definitely have the right layer selected and so far as I know (!) there are only non-transparent pixels in the select. The layer after decomposition is done is in mode Grain Merge. That was in the past no issue.

Anyone with any ideas? I'm stumped.



Attached Files Thumbnail(s)
   
Print this item