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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,631
» Latest member: Donaldfuh
» Forum threads: 7,177
» Forum posts: 39,212

Full Statistics

Latest Threads
I can't edit a path
Forum: General questions
Last Post: Ofnuts
1 hour ago
» Replies: 2
» Views: 26
gradients semi transparen...
Forum: General questions
Last Post: Ulodesk
Yesterday, 05:00 PM
» Replies: 3
» Views: 163
Multiple install paths in...
Forum: Windows
Last Post: LateJunction
Yesterday, 08:38 AM
» Replies: 2
» Views: 176
Information about GAP
Forum: Extending the GIMP
Last Post: ElMastro
Yesterday, 01:51 AM
» Replies: 4
» Views: 498
Copy color effect to othe...
Forum: General questions
Last Post: PBog
02-20-2025, 12:56 PM
» Replies: 6
» Views: 343
Some questions about brus...
Forum: General questions
Last Post: rich2005
02-20-2025, 09:05 AM
» Replies: 2
» Views: 177
flowery cliff
Forum: Gallery
Last Post: MJ Barmish
02-19-2025, 01:29 PM
» Replies: 2
» Views: 184
How can I run Flatpak ver...
Forum: Linux and other Unixen
Last Post: Ofnuts
02-18-2025, 11:27 PM
» Replies: 3
» Views: 205
Export all opened images ...
Forum: Extending the GIMP
Last Post: Krikor
02-18-2025, 09:18 PM
» Replies: 8
» Views: 5,075
Arrow Script
Forum: Extending the GIMP
Last Post: programmer_ceds
02-18-2025, 04:51 PM
» Replies: 122
» Views: 152,479

 
  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

  Still Having Problem Printing Images The Correct Size
Posted by: Clueless - 11-04-2024, 09:58 PM - Forum: General questions - Replies (3)

   

This is my problem, I can get 2 images on the canvas that LOOK correct on my screen, however when I print them they come out the wrong size and cropped. 

The method I use to get this far is produce a single image - Save As, Open as layers, Show all, separate the 2 images side by side , fit image to canvas, this looks fine on the screen but when I print it this is what happens (please see attachment).
 
I think I should explain that I am using these images to make ceramic coasters using the sublimation method. This involves using a heat press to transfer the images onto the ceramic coaster blank. It transpires that I have a special "colour profile"
 installed in Gimp that allows for the fact the printed colours are changed considerably due to the heating process. This colour profile is not installed in Word, so despite being able to get the image spacing and size perfect I couldn't print them as all the colours went wrong when I sublimated  them.

Thank you for all your help and patience, and I hope you will be able to solve this simple problem for me. 

Regards from the UK John.

Print this item

Bug Bug: drop shadow overlap issue
Posted by: AshColors - 11-04-2024, 09:45 PM - Forum: General questions - Replies (2)

Hello, all

Bug: I am experiencing an issue where two layers that have drop shadows interact incorrectly where the drop shadows overlap. 

Context: the layers are several layers apart from one another. Both have white drop shadows applied to them. Where the two layers' drop shadows overlap they are dark. The Mode of both layers are set to Normal. This was not happening a few days ago, I do not believe anything was updated or changed, but I might have accidentally hit a hotkey?

Example: Attached is a screenshot with red arrows pointing to the overlaps.

Request: Please suggest whatever you imagine could be the cause of this.

MANY THANKS!!
- Stephen


Oh hey, I'm a digus. After exhaustively scouring for hours, and finally giving up and posting here, I nearly immediately discovered the cause on accident.

Answer:
I have to set the Opacity in Drop Shadow to 100%. Any higher will cause the issue i explained above.



Attached Files Image(s)
   
Print this item

  How to post pictures 4 better posts ?
Posted by: Ps2Gimp - 11-04-2024, 05:42 AM - Forum: General questions - Replies (8)

My screenshots are always too heavy for upload but i see other people posting images, so what's the right way?
Other way to post a picture besides linking to a imgurl ?

Thanks

Print this item

  Tool Outline Color
Posted by: wesmat - 11-04-2024, 04:44 AM - Forum: General questions - Replies (3)

How do I change the tool outline color?  When I search on this I can't find the answer I need.  My need is when doing very detailed edits to gray toned images it is very difficult to see the tool size, which is made up of alternating white and black marks.  Specifically the pencil, airbrush, smudge, etc. It is very difficult to place the tool on a gray area next to an edge.  For instance, if I want to draw a line on a grey area and have it touch another line, I have to zoom in to  see when it is touching.  For this case I'd like to change the tool color to a contrasting color, maybe red.

I have attached an example and the pencil is located in the gray next to the white a little to the right of center.  I find it easier to see in the capture than while editing.

Thanks



Attached Files Thumbnail(s)
   
Print this item