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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,343
» Latest member: Stroitelna_xaer
» Forum threads: 6,654
» Forum posts: 36,262

Full Statistics

Latest Threads
How good are you at guess...
Forum: Watercooler
Last Post: PixLab
1 hour ago
» Replies: 10
» Views: 307
Color change
Forum: General questions
Last Post: rinaldop
4 hours ago
» Replies: 5
» Views: 219
Scaling an image to a fix...
Forum: General questions
Last Post: denzjos
4 hours ago
» Replies: 4
» Views: 204
AppImages and Help Files
Forum: Alternate Gimp packagings
Last Post: CtrlAltDel
9 hours ago
» Replies: 2
» Views: 96
How do I make this image ...
Forum: General questions
Last Post: Krikor
10 hours ago
» Replies: 4
» Views: 132
How do I remove the backg...
Forum: General questions
Last Post: PixLab
Today, 12:40 AM
» Replies: 4
» Views: 227
I Have A Custom Ubuntu 24...
Forum: Alternate Gimp packagings
Last Post: Tas_mania
Yesterday, 11:00 PM
» Replies: 5
» Views: 633
GIMP not utilizing NVIDIA...
Forum: Linux and other Unixen
Last Post: Ofnuts
04-24-2024, 09:01 PM
» Replies: 12
» Views: 357
Bulk LUTs Previewer
Forum: Other graphics software
Last Post: denzjos
04-24-2024, 08:57 AM
» Replies: 0
» Views: 90
exr manipulation
Forum: General questions
Last Post: rich2005
04-23-2024, 04:56 PM
» Replies: 9
» Views: 294

 
  Blending layers together
Posted by: fluffypanda - 07-12-2023, 09:13 AM - Forum: General questions - Replies (4)

Hi all I'm wanting to blend 2 layers together for a heightmap (where the red lines I have drawn)

Also is there a way to get the magic wand to select an area kind of like where the red lines area If I were the merge the 2 layers together rather than draw it manually with the free select tool? thanks Smile

[Image: R7d5Bew.jpg]

Print this item

  I want to achieve 2.10 posturize with color-erase blending mode effect in python
Posted by: Error - 07-12-2023, 01:37 AM - Forum: Other graphics software - Replies (1)

Hello, I am attempting to make a script of mine more efficient. I am trying to replicate the output of using posterize with the color-erase blending option in python without leaning heavily on gimp. Below is showing how posterize can influence an image's appearance.  
[Image: bugging-Me.png]
As you can see, this is what it looks like when I take the original photo, remove the alpha channel, and posterize. Below is one of the more interesting outcomes for the color-erase blending option when applied with the posterize tool.
[Image: asdaaa.png]
The step, by step instructions to get this effect:
1. Open image
2. Remove alpha channel of image by right clicking in layer menu
3. Select posterize from the color dropdown menu in the main window
4. In the posterize menu, select the color-erase blending mode and put the slider anywhere between 3 and 254.
Here's how to programmatically achieve the effect with Python-fu for 2.10:

Code:
groupLayer = pdb.gimp_layer_group_new(image)
srcLayer =  pdb.gimp_layer_copy(image.layers[0], False)
eraseLayer = pdb.gimp_layer_copy(image.layers[0], False)

#Insert layer group with two layers inside
pdb.gimp_image_insert_layer(image,groupLayer, None, -1)
pdb.gimp_image_insert_layer(image, srcLayer, image.layers[0], -1)
pdb.gimp_image_insert_layer(image, eraseLayer, image.layers[0], -1)

#Posterize erase layer, then set paint mode to Color Erase
pdb.gimp_layer_set_mode(eraseLayer, 57)
pdb.gimp_drawable_posterize(eraseLayer, amount)

#transfer grouplayer alpha to new mask, then fill alpha with white
mask = pdb.gimp_layer_create_mask(groupLayer, 3)
pdb.gimp_layer_add_mask(groupLayer, mask)
pdb.gimp_drawable_edit_fill(mask, 2)

# Apply mask and merge group
pdb.gimp_image_merge_layer_group(image, image.layers[0])
pdb.gimp_layer_remove_mask(image.layers[0], 0)

I'm interested in anything from theorizing, to gimp source-code that can explain how I could replicate this effect. I am curious how it works. If you've made it this far, thank you for reading my post!

Print this item

  How do I fill non contiguous areas of the same colour
Posted by: leamphil - 07-10-2023, 01:02 PM - Forum: General questions - Replies (6)

How do I fill all the areas (non contiguous ones) of the same colour with one click ? 
... without having to click on each non contiguous area

Regards,
Leamphil

Print this item

  Check Out a Loading Screen I made!
Posted by: eason9 - 07-10-2023, 09:56 AM - Forum: Gallery - Replies (8)

Took 15 mins to make it, check it out: https://ibb.co/SfL059K

Print this item

  Icon Shortcuts for predefined colors/tool/filter options
Posted by: estatistics - 07-09-2023, 08:46 AM - Forum: General questions - Replies (5)

I manipulate a lot of images.
I find it time consuming to click eg. 

filters-->blur-->Gaussian--> ok
then
Colors --> saturation --> Ok
then
filters-->enhance-->sharpen--> ok

then repeat the whole sequence for 1000+ images.

I prefer:
to be able to put Shortcut icons for predefined options in tools eg. Blur icon with predefined blurring.
to be able to group actions in new shortcut icons e.g blur-sharpen-saturation -> BSS shortcut icon.

In that way, the whole image processing will be speed up


I dont know if someone can make an addon for such thing.
It will be HUGE advantage of GIMP.

Print this item

Question New User!
Posted by: CallumC - 07-08-2023, 08:21 PM - Forum: General questions - Replies (3)

Please assume I am  a dummy, you wont be far wrong! 

Huh   How do I create a template?  How can I select from my pics and cut and paste into a template?  

Cry    Step by step please!


Yours MJC.

Print this item

  Partial desaturation and other processes with a car
Posted by: Ofnuts - 07-08-2023, 04:32 PM - Forum: Tutorials and tips - Replies (19)

From this:

   

To this:

   

One reason of the processing is the rather busy and uninteresting background (all buildings from the early 2000s) that distracts from the car.

Preprocessing:
  • Straighten the picture using the measure tool, taking the corner of the building across the street as a reference (best take the reference near the center of the picture because it is not subject to perspective convergence, and anyway the facade of the building to the right isn't vertical...)
  • Crop the picture to taste
  • There is a large blue flower pot to the right that creates a nasty blue reflection on the fender. Fixed by sampling the car color, and painting over the pot reflection  in "Lch color" mode.
Then it goes like this:

   
  • Make a path around the car (about 120 points)
  • Make a path around the windows (everywhere they are transparent or reflect something)
  • Using the windows path as a selection, copy/paste the windows on another layer
  • Make a copy of the image and colorize it (Colors> Colorize). The color is picked to have a hue about 180° from the car color (car color is H=240°, so colorization uses H=60°)  
  • Duplicate that colorize layer and  blur the copy
  • Create a selection from the outline path (Path to selection), and subtract the windows path (Subtract from selection)
  • On the initial image, create a layer mask and initialize it to the selection. You should end up with the car in original color over the "sharp" colorized layer
  • Add a layer mask on the colorized layer, and make a gradient to go from  a sharp image in the front to a blurred background
  • Adjust the opacity of the windows layer so that transparencies and reflections are between the original colors and the colorized background.

Print this item

  A bit of Nostalgia
Posted by: rich2005 - 07-08-2023, 10:47 AM - Forum: Watercooler - Replies (3)

In the evenings I like to pull out my old Acer C720 chromebook - no chrome here, it runs on a 32bit Xubuntu.

I am not into computer games but I do run a 1992 DOS Scrabble, playing against the computer and I did try to get a GIMP for you to see but had to use a 'wild-card'. This uses the official scrabble dictionary of the time. No modern words permitted.

   

A couple of days ago, even older, I found a 3.5" floppy with a DOS Tetris from 1988. I will have played this on my Amstrad DOS 3.3 with two 720MB floppy drives but no colour, a greenscreen monitor.  A nice touch, not a screensaver, a job-saver, in case the boss is snooping. Hit the pause key and you get a fake spreadsheet, looks a bit SuperCalc-ish but a giveaway is the date '1 April'

   

Print this item

  My Color to Alpha options have vanished!
Posted by: HavingTooMuchFun - 07-08-2023, 04:04 AM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (3)

Color to Alpha on this older Gimp had always had multiple options; foreground, background, black, white, and a thing to click to choose a specific color. Nothing has been updated or otherwise changed on my computer, and I haven't done anything to Gimp either, but suddenly, Color to Alpha ONLY gives me the thing to click to choose a specific color, the other options have just VANISHED! I use these options a lot in my art, and they appear to not exist in the current Gimp… the controls are so complex that I can't be sure, lol… so I really need my previous options back! Can anyone tell me how to do that… and/or, how my options vanished in the first place? Thanks!

Print this item

  macbook lag with 2.10.34 (version1)
Posted by: labam003 - 07-08-2023, 12:40 AM - Forum: General questions - Replies (2)

Hi, I'm trying to improve the laggy performance, in particular lag related to my Wacom pen. I read previous threads about "hardware acceleration" in "playground" but was not able to find in system resources. Not sure what the best solve here is.

Thank you so much for any help or suggestions.

Print this item