| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 4,930
» Latest member: Jamesda05
» Forum threads: 7,693
» Forum posts: 41,840
Full Statistics
|
| Latest Threads |
Colorized Layer Reverts t...
Forum: General questions
Last Post: sallyanne
2 hours ago
» Replies: 6
» Views: 368
|
Gimp 3.0.6-1 G'Mic-Qt ups...
Forum: General questions
Last Post: denzjos
Yesterday, 07:08 PM
» Replies: 2
» Views: 126
|
Issue with cut selection
Forum: Installation and usage
Last Post: kmll
Yesterday, 11:56 AM
» Replies: 2
» Views: 122
|
How to get G'MIC within G...
Forum: General questions
Last Post: teapot
11-10-2025, 08:04 PM
» Replies: 2
» Views: 246
|
Gimp 3.x scanner xsane pl...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Ofnuts
11-10-2025, 08:36 AM
» Replies: 14
» Views: 11,583
|
Gimp 3.0 get Metadata wit...
Forum: Scripting questions
Last Post: Volker
11-09-2025, 06:19 PM
» Replies: 3
» Views: 283
|
Text Editor hardly ever w...
Forum: General questions
Last Post: Snacko
11-09-2025, 05:13 PM
» Replies: 4
» Views: 373
|
How to make image and mas...
Forum: Installation and usage
Last Post: Ofnuts
11-08-2025, 08:39 PM
» Replies: 5
» Views: 339
|
Multi window mode mode fa...
Forum: General questions
Last Post: teapot
11-07-2025, 01:40 PM
» Replies: 5
» Views: 482
|
Animation with only GIMP ...
Forum: Gallery
Last Post: Scut-51
11-06-2025, 11:49 AM
» Replies: 25
» Views: 23,098
|
|
|
| Managing levels in two different parts of the image? |
|
Posted by: magnuslar - 06-22-2019, 07:48 AM - Forum: General questions
- Replies (3)
|
 |
Hi!
I cannot find out to do this so posting here:
I have an image of a bright sky over a grass in the foreground. The sky is far brighter. Now I want to adjust levels, so that I get a lot of detail in the sky, that is, darkening it, without making the foreground black. So essentially treating the two parts of the image indepently in terms of levels, brightness, contrast. My idea is to do this with some kind of mask, or to separate in two different layers, but I cannot figure out how (I'm quite a newbie to GIMP, trying to learn).
Anyone have advice or can point to a good tutorial somewhere?
EDIT: GIMP 2.8.22, running on Ubuntu 18.04
A scaled down version of the image is here:
Magnus
|
|
|
| Noob needs a hand... |
|
Posted by: vndep - 06-21-2019, 08:32 PM - Forum: Scripting questions
- Replies (2)
|
 |
Hi, All,
Noob here. I am trying to write a very simple GIMP-python script; all I want to do is:
(a) starting with a clean background
(b) read a .jpg file from my disk into an image object (e.g., a blue sky with clouds)
© have the image appear on top of the background
(d) write some text in black on top of the image (e.g., "Sample Text")
(e) save the whole thing as a new .png file somewhere on my disk.
I am almost all the way there; I am getting an error when I save (noted below) using this line:
pdb.gimp_file_save(1, new_img, layer, outputpath, 'AAA_TEST.png')
Thanks in advance! All help is welcome!
CODE FOLLOWS:
def python_sample_scriptC(image, layer) : #FUNCTION DEFINITION
pdb.gimp_image_undo_group_start(image)
pdb.gimp_context_push()
imagepath = 'G:/Users/Star/Dropbox/Projects/Stock photos/blue-clouds-day-53594.jpg'
outputpath = 'G:/Users/Star/Dropbox/Projects/Stock photos/AAA_TEST.png'
text = 'SAMPLE TEXT'
drawableFLAG = None
xval = 10
yval = 10
borderval = 0
antialiasFLAG = FALSE
sizeval = 100
sizetypeval = 1
fontnameval = 'Arial Heavy'
pdb.gimp_message('LOAD IMAGE')
imageobj = pdb.file_jpeg_load(imagepath, imagepath)
pdb.gimp_display_new(imageobj)
pdb.gimp_message('CREATE TEXT LAYER')
textlayerval = pdb.gimp_text_fontname(imageobj, drawableFLAG, xval, yval, text, borderval, antialiasFLAG, sizeval, sizetypeval, fontnameval)
pdb.gimp_message('SET TEXT COLOR')
pdb.gimp_text_layer_set_color(textlayerval, '#ff0000')
time.sleep(1)
pdb.gimp_message('DUPLICATE')
new_image = pdb.gimp_image_duplicate(imageobj)
pdb.gimp_message('MERGE')
layer = pdb.gimp_image_merge_visible_layers(new_image, CLIP_TO_IMAGE)
pdb.gimp_message('SAVE')
# THE CODE FAILS ON THE NEXT LINE
pdb.gimp_file_save(1, new_img, layer, outputpath, 'AAA_TEST.png')
pdb.gimp_context_pop()
pdb.gimp_image_undo_group_end(image)
pdb.gimp_displays_flush()
#return
|
|
|
| Alignment tool layer lock 2.10.10 |
|
Posted by: FatAliB - 06-20-2019, 12:25 AM - Forum: General questions
- Replies (3)
|
 |
In GIMP 2.10.10 layer locking works fine with the move tool, ie all locked layers are moved, but has no apparent effect using the Alignment tool, where only the currently set layer is aligned.
Is this a 'feature' or a bug?
|
|
|
| [split] print tiff problem |
|
Posted by: tez06 - 06-19-2019, 12:21 PM - Forum: General questions
- Replies (2)
|
 |
hi, i recently updated to gimp 2-10-12 and always exported my files in tif format then printed to my large format printer, however when i export my work in this new gimp when i go into the folder and try image preview the canvas is blank no images whatsoever and it print absolutely nothing, previous version worked like a charm, any ideas why this is?
|
|
|
|