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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,342
» Latest member: KirbySS44
» Forum threads: 6,653
» Forum posts: 36,253

Full Statistics

Latest Threads
How good are you at guess...
Forum: Watercooler
Last Post: Ofnuts
1 hour ago
» Replies: 8
» Views: 287
How do I make this image ...
Forum: General questions
Last Post: PixLab
2 hours ago
» Replies: 3
» Views: 99
AppImages and Help Files
Forum: General questions
Last Post: CtrlAltDel
3 hours ago
» Replies: 0
» Views: 41
How do I remove the backg...
Forum: General questions
Last Post: PixLab
8 hours ago
» Replies: 4
» Views: 206
I Have A Custom Ubuntu 24...
Forum: Alternate Gimp packagings
Last Post: Tas_mania
9 hours ago
» Replies: 5
» Views: 628
Color change
Forum: General questions
Last Post: PixLab
Yesterday, 02:34 AM
» Replies: 4
» Views: 191
GIMP not utilizing NVIDIA...
Forum: Linux and other Unixen
Last Post: Ofnuts
04-24-2024, 09:01 PM
» Replies: 12
» Views: 332
Scaling an image to a fix...
Forum: General questions
Last Post: PixLab
04-24-2024, 01:47 PM
» Replies: 2
» Views: 156
Bulk LUTs Previewer
Forum: Other graphics software
Last Post: denzjos
04-24-2024, 08:57 AM
» Replies: 0
» Views: 86
exr manipulation
Forum: General questions
Last Post: rich2005
04-23-2024, 04:56 PM
» Replies: 9
» Views: 261

 
Big Grin Removing duplicate images
Posted by: Zero01 - 06-25-2019, 06:24 PM - Forum: Other graphics software - Replies (4)

I have an issue with my camera (cheapo 4k camera), on any other setting it's fine but when videoing in 4k I find every few frames are repeated producing an annoying jittery effect.
I used ffmpeg to convert the first 240 frames of a 15 minute video to see the problem in more detail, the images are definitely repeating every few images or so (although it's not at regular intervals, and not just one duplicate frame but 2 or 3 in a row at times)
I tried ffmpeg on it's own [i.e. https://stackoverflow.com/questions/5396...ate-frames ], but the result wasn't what I expected at all.

So it's difficult to deal with - to get rid of ALL duplicate frames in a 15 minute 30 fps video manually would be a non-starter.. so I looked into a Python solution - I installed dhash (via pip) which uses Pillow for parsing the images and it generates a "difference hash" for each image. I ran a test script and it seems to work how it should, each duplicate has the same hash value (see pic)

   

Could anyone help me in finding a solution or any other way of sorting the hashes so that the duplicates are gone, and in there places are blank spaces so that I can edit a column next to them with the associated image file that will need deleting. Hopefully then I can reconstruct the file using ffmpeg.

Alternatively is there any software out there that will do the same thing.

Thanks

Print this item

  How to make?
Posted by: macnus - 06-24-2019, 05:39 PM - Forum: General questions - Replies (3)

Hello,

i'm looking for tips and tricks on how to make something like this in GIMP.


Thanks!



Attached Files Thumbnail(s)
   
Print this item

  How to Edit Text on .psd doc with Gimp.. Total Newbie
Posted by: tammy67 - 06-24-2019, 05:07 PM - Forum: General questions - Replies (4)

Hi All

I have a document that i wish to edit. I cant figure out how to do this. I can see the document in the main of my screen and the layers to the right. When i click in the layers box on the right and change each Layer title, this doesnt change the actual wording on the document. E.g If on the Document it says "Happyness" and i find the relating layer and rename it "Sadness" the layer title on the box in right says "sadness" but the actual document has not been visually edited. Also Each Layer on the document is more of a Grey and white checked box, rather than a Text box.. As a total beginner im lost to my error. Please advise if possible. Thanks



Attached Files Image(s)
   
Print this item

  ofn-stroke-fill-paths
Posted by: Ofnuts - 06-23-2019, 07:05 PM - Forum: Extending the GIMP - Replies (13)

This is an overhaul of stroke-visible-paths where the main addition is the ability to use "line mode" path stroking, which, unlike brush painting,  can create really sharp lines and corners:

   

Available on SourceForge as usual.

Print this item

  Restoring Tool Options to Toolbox
Posted by: cosmo666 - 06-23-2019, 06:02 PM - Forum: Linux and other Unixen - Replies (4)

Amazing that this problem isn't even on the list here. There are dozens of posts, none of which has a solution. And the solution provided in the documentation does not work, at least in the Linux universe.

1: Main menu bar, select 'Windows'
2: Select 'Dockable Dialogs'->'Tool Options'

This should put the 'Tool Options' dockable dialog on the desktop, leaving the Toolbox with a 'drop zone' into which the 'Tool Options' dockable dialog may be dropped. However, in order to drop it (at least in my case, with Gimp 2.8 running under Ubuntu 16.04), contrary to the very confusing instructions in the Gimp docs, I had to grab the 'Tool Options' tab itself -- inside the Tool Options dockable window -- then drag and release inside the drop zone in the Toolbox.

Very annoying. But after nearly three-decades of not having to rely on (or pay for) Photoshop, in favor of a graphics tool that just keeps getting better, all I can say to the Gimp developers is:

Thank you, and keep up the great work.

Print this item

  How to set rawtherapee as default RAW editor in 2.10.10?
Posted by: thommym - 06-23-2019, 03:22 PM - Forum: General questions - Replies (2)

Hi!

I'm using GIMP 2.10.10 on Fedora 30 with both Darktable and Rawtherapee installed. When I choose Edit->Preferences->Image Import&Export in GIMP it shows

...
${gimp_plug_in_dir}/plug-ins/file-darktable/file-darktable
${gimp_plug_in_dir}/plug-ins/file-raw-placeholder/file-raw-placeholder
${gimp_plug_in_dir}/plug-ins/file-rawtherapee/file-rawtherapee
...

in that order. But there's now way to change the order and therefore darktable starts when I open a raw-file.

Anyone know a way to change this to rawtherapee?

Print this item

  Draw arrow script recommendations
Posted by: vndep - 06-22-2019, 06:49 PM - Forum: Extending the GIMP - Replies (1)

Hi - I am looking for a script that can draw arrows.  

Ideally it would allow for a high degree of control and customization.

Thanks in advance for your recommendations!

Print this item

  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

Print this item

  Dithering Script-Fu
Posted by: hudsonja - 06-21-2019, 08:48 PM - Forum: Scripting questions - Replies (4)

I'm using GIMP 2.10.6 on Ubuntu 18.10.  
I'm trying to script an automatic image manipulation, and for part of the workflow I need to dither a layer in my image.

I can't find anything that exposes the functionality provided by the dialogue located at Colors > Dither...
[Image: IkRkuYe.png]

Am I missing something?  Or does it just not exist?

Print this item

  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

Print this item