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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,782
» Latest member: MichaelDak
» Forum threads: 7,595
» Forum posts: 41,398

Full Statistics

Latest Threads
Is there any version wher...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: rich2005
1 hour ago
» Replies: 1
» Views: 205
How do I uninstall GIMP 3...
Forum: Linux and other Unixen
Last Post: Ofnuts
2 hours ago
» Replies: 1
» Views: 55
AI Gimp Plugins
Forum: Watercooler
Last Post: merlilderman
Yesterday, 04:16 PM
» Replies: 21
» Views: 68,182
How to make a watermark o...
Forum: General questions
Last Post: kyolim
09-13-2025, 10:05 PM
» Replies: 5
» Views: 14,169
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
09-13-2025, 06:06 PM
» Replies: 1
» Views: 474
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
09-13-2025, 05:20 PM
» Replies: 2
» Views: 376
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
09-13-2025, 07:53 AM
» Replies: 15
» Views: 12,059
Photo play-time
Forum: Gallery
Last Post: Ofnuts
09-13-2025, 07:32 AM
» Replies: 24
» Views: 21,894
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 726
pl_stroke_arrows GIMP 3.0...
Forum: Extending the GIMP
Last Post: Scallact
09-12-2025, 04:03 PM
» Replies: 0
» Views: 377

 
  Watch Videos At Higher Resolutions On Linux
Posted by: Tas_mania - 11-08-2024, 09:22 PM - Forum: Watercooler - No Replies

Previously here at Watercooler I came across a networking algorithm that can improve bandwidth on the big video platform Smile

I did some more investigating and found a way of making it permanent on a Linux system.
__________________________________________________________________

Find what congestion control you are using now:
sysctl net.ipv4.tcp_available_congestion_control
Mine had
net.ipv4.tcp_available_congestion_control = reno cubic

Add BBR
sudo gedit /etc/sysctl.conf        (gedit or whatever editor you want)
add the following two lines:

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
save file
reload sysctl.conf  >   sudo sysctl -p

check congestion control again:
sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = reno cubic bbr
_______________________________________________________________

Comments.
Hopefully enabling this gives you better video performance.
I think more people are 'streaming' video on Android TVs. A network is only as fast as it's slowest bottleneck.

Print this item

  Saving templates with layers.
Posted by: StevenCunningham - 11-08-2024, 03:03 PM - Forum: General questions - Replies (3)

I can't seem to be able to save a template with any layers. I've created an .xcf with multiple layers and would like to make it a template. Unfortunately when I use the "Create Template..." option, none of the layers get saved. The template appears in my template list, but it is a blank slate with no layers. Also, as an aside, how do I delete templates from my template list? I now have several versions of the same layer-less template in my template list.

Print this item

  anyone try to use
Posted by: trandoductin - 11-08-2024, 02:10 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (5)

GIMP 3.0 plug-ins
add_path_argument and successfully get a path to show up on UI?
I don't know why mine is not showing up.
I got add_file_argument to show up
and path just has this extra boolean in param, I tried true and false...nothing.

Over at gimpchat.com i got this plug-in called GIMP cards and it requires a directory/path and this add_path_argument is a show stopper for me trying to convert from GIMP 2.10 to GIMP 3.0.

Print this item

Python 8 scripts I created for GIMP version 2.10.83
Posted by: ReconstructingIdeas - 11-07-2024, 05:47 PM - Forum: Extending the GIMP - Replies (5)

The links to the code are to github 
1. Obtain layers attributes recursively
- Creates multiple text layers at once in GIMP, with consistent formatting and optional automatic numbering.
2. Print Layer colors as RGB to error console
- Creates multiple text layers at once in GIMP, with consistent formatting and optional automatic numbering.

3. Replace Alpha Channel of a Group of Layers
- Replaces all layers within groups matching the used search term, replacing their alpha channels with the specified html color.
   
4. Replace Specific Layers by name with Image Path
- Replaces multiple layers with the selected image path while maintaining layer properties like position, size, and masks.
   
5. Replace colors found in layers by name
- Replaces an html color across multiple layers simultaneously while preserving layer structure and alpha channels.
   

6. Create multiple guides
- Creates multiple guides in an image. Guides are evenly separated. Can be applied vertically and horizontally.
   
7. Create multiple layers
- Creates multiple layers at once in GIMP, with optional automatic numbering.
   
8. Create multiple text layers
- Creates multiple text layers at once in GIMP, with consistent formatting and optional automatic numbering.
   


Example of me showing the plugins:





# Bonus
9. Export folder of .xcf files to .png files
- Batch convert XCF files to PNG format without manually opening each file in GIMP

Print this item

  Text along circle doesn't work anymore
Posted by: martin.girard - 11-07-2024, 08:50 AM - Forum: General questions - Replies (3)

Hi,

I'm trying to wrap text along a circle using GIMP 2.10.38 on Manjaro. I've done it successfully just last week, but tonight it won't work for no apparent reason.

Just in case, I've been following the steps in multiple tutorials like a robot, as in this one: https://www.youtube.com/watch?v=I-j3nbLDj3M

But when I reach Text Along Path, the text selection shows at the top left corner of the screen instead of around the ellipsis, as in the attached screenshot.

I've also looked at trivial issues like text alignment, box being set to Fixed instead of Dynamic, trailing carriage return, and so on. Nothing works. I've also restarted the application and rebooted the system just in case. Haven't updated anything since I last used the functionality.

Please advise.



Attached Files Thumbnail(s)
   
Print this item

  Basic Python-Fu usage
Posted by: BenjyvC - 11-06-2024, 05:57 PM - Forum: Scripting questions - Replies (4)

I queried Bing's Co-Pilot what tool and what code might serve to automate splitting an image into squares, this to conform to the format requirement of a cloud-based machine vision tool called Roboflow, which I'm intending to use to automate crack detection in concrete. (I've managed to learn enough about labelling in CVAT to download a json file containing the annotations in COCO 1.0, but am stuck attempting to train a model locally on my PC using detectron2.) To stay in motion while I await help on that, here's where I'm stuck using a Python-Fu script in Gimp.

When the code from Co-Pilot didn't produce anything, I asked it to simplify the operation to first confirm basic functionality using scripting in Gimp. It suggested creating a new file, but when that didn't produce anything, it further simplified to create a simple message, "Hello from Python-Fu". And when that only flashed the Console for a fraction of a sec, it included a prompt to pause for 10 seconds, which then at least that pause did work. That said, I'm not even seeing the pause when adding the create new image prompt:

from gimpfu import *

import time

def simple_message(image, drawable):
    gimp.message("Hello from Python-Fu!")
    time.sleep(10)  # Pause for 10 seconds

def create_image(image, drawable):
    save_dir = "D:/ALDOT_Model/Split_Test"  # Change this to your desired directory
    os.makedirs(save_dir, exist_ok=True)

    # Create a new image
    new_image = pdb.gimp_image_new(100, 100, RGB)
    new_layer = pdb.gimp_layer_new(new_image, 100, 100, RGB_IMAGE, "New Layer", 100, NORMAL_MODE)
    pdb.gimp_image_insert_layer(new_image, new_layer, None, -1)
    pdb.gimp_image_flatten(new_image)
    pdb.file_png_save(new_image, pdb.gimp_image_get_active_drawable(new_image), os.path.join(save_dir, "new_image.png"), "new_image.png", False, 9, True, True, True, True, True)
    gimp.message("Created and saved a new image as new_image.png")

register(
    "python_fu_create_image",
    "Create a new image and save it",
    "Create a new image and save it",
    "Your Name",
    "Your Name",
    "2024",
    "<Image>/Python-Fu/Create Image",
    "*",
    [],
    [],
    create_image)

main()

Many thanks for your insights!

Print this item

Question Using GIMP 2.10 and 3.0 on the same PC
Posted by: Krikor - 11-06-2024, 01:31 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (13)

Hello everyone,

It seems that version 3.0 is approaching.

Unfortunately, many tasks (most of them) will become more difficult due to the inoperability of third-party plugins/scripts.

The question that brings me here is:

Will it be possible to keep my version 2.10 and have version 3.0 running at the same time without conflicts?

If so, how should I proceed (install) when downloading and testing version 3.0?

Thanks for the clarification!

Note: I will probably no longer use the portable version after version 3.0, so my intention is to have version 2.10 in portable mode and version 3.0 in standard mode.

Print this item

  How to edit DDS file?
Posted by: GimpForMe - 11-06-2024, 09:42 AM - Forum: General questions - Replies (4)

With the instructions found here, I am able to open DDS files (BC7 texture files from game Skyrim SE) and export them. But I haven't found out how to edit them the way I would like to.

The goal for the linked texture file (https://we.tl/t-xuztkOnwWM) is to make the dirt less visible/less pronounced/less dark. But I haven't found out what exactly to edit on the alpha and/or RGB channels.

Maybe anyone can help?

Print this item

Smile from python fu exporting a layergroup as new image?
Posted by: dela - 11-05-2024, 09:15 PM - Forum: Extending the GIMP - Replies (1)

Hello,

Any python fu examples able to export a layergroup(nested children) as a new image(.xcf)?

(or acces to keyboard shortcuts from within python fu (ctrl-c & past as new image))


[Image: smile.png][Image: question.png]

Print this item

  Another plea for help - "open with"
Posted by: david - 11-05-2024, 03:00 PM - Forum: Linux and other Unixen - Replies (2)

Ubuntu 20.04 with Unity desktop
Gimp 2.10.38 (PandaJim with Python 2.7)

Since yesterday I have lost the "Open with GNU Image Manipulation Program" for jpg, png and gif files when I am in the files menu. (tif files open normally.)
However, if I click on a thumbnail for these file types on the Unity desktop I get the option to open with Gimp.

In the gimp.desktop file there are: image/jpeg; image/png; and image/gif;

In ~/.config/mimeapps.list I can see image/jpg=gimp.desktop; image/png=gimp.desktop; and image/gif=gimp.desktop;

In addition there are numerous entries of the form: image/jpeg=GIMP-2.10.21.desktop which I suspect are obsolete as there is no GIMP-2.10.21.desktop file, only a
gimp.desktop

The only changes I have made are to fit a second monitor and to install XnView MP.

I have spent many hours searching the internet without finding a clue as to what may be the problem!

Any help most gratefully received!

David.

Print this item