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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,911
» Latest member: kristalyn
» Forum threads: 7,362
» Forum posts: 40,085

Full Statistics

Latest Threads
selecting a fixed size re...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
5 hours ago
» Replies: 4
» Views: 179
RemoveBG, how to install ...
Forum: Extending the GIMP
Last Post: CtrlAltDel
7 hours ago
» Replies: 11
» Views: 364
New color : olo
Forum: Watercooler
Last Post: denzjos
10 hours ago
» Replies: 0
» Views: 52
Windows Portable Gimp 3.0...
Forum: Alternate Gimp packagings
Last Post: rich2005
Yesterday, 07:57 PM
» Replies: 0
» Views: 87
Masking/Cutting/Layering?
Forum: General questions
Last Post: rich2005
Yesterday, 07:43 PM
» Replies: 1
» Views: 109
Need help installing Resy...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
Yesterday, 05:58 PM
» Replies: 3
» Views: 187
arrow-set-size.scmについて
Forum: Gimp 2.99 & Gimp 3.0
Last Post: mkunio
Yesterday, 05:37 PM
» Replies: 3
» Views: 160
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
04-18-2025, 03:58 PM
» Replies: 6
» Views: 624
My instution block downlo...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: vitforlinux
04-18-2025, 12:32 PM
» Replies: 3
» Views: 174
gegl:convert_space & icc ...
Forum: Scripting questions
Last Post: bear.hsiung
04-18-2025, 09:03 AM
» Replies: 2
» Views: 554

 
  gimp terminal
Posted by: beezle - 01-17-2024, 01:16 PM - Forum: General questions - Replies (2)

something strange. l am using linux lite 6. i was looking on the internet for something similar to the old windows paint program and i came across, you guessed it, gimp. so being a little smart, i looked in my menu under graphics and all accessories. no gimp. next smart thing. i typed gimp in terminal. gimp 2.10 loaded up on my screen, i did my old paint things successfully, with no error messages, and closed gimp.  i incorrectly assumed i had installed gimp on my computer by type gimp in terminal. alas no gimp in my menu. so what the heck was that? and i can do it again.

Print this item

  Is there always another option?
Posted by: denzjos - 01-16-2024, 09:22 AM - Forum: Watercooler - Replies (1)

https://www.youtube.com/watch?v=34wbi7hPGUw

Print this item

  Updating G'Mic
Posted by: FlutteringBy - 01-15-2024, 06:19 PM - Forum: Extending the GIMP - Replies (9)

Hi All,
I currently have version 3.2.6 installed in Gimp 2.10.36 in windows 11...

Do I install version 333 directly on top of the old version or does it need to be uninstalled?

How do I uninstall it?

Thanks,
FlutteringBy

Print this item

  Trouble with a plugin
Posted by: Tulevik - 01-14-2024, 11:09 PM - Forum: General questions - Replies (2)

Good evening,

I am using GIMP 2.10.18 on a MX Linux distro. I can't use nor see this plugin, despite being included into the /home/username/.config/GIMP/2.10/plug-ins/ folder:

https://www.gimpscripts.net/2020/12/cale...64bit.html

I know that it is a plugin which is apparently designed for the Windows version of GIMP. But, can I use it somehow on Linux? Can I convert to a format that Linux understands it?

I tried to launch GIMP for Windows via Wine and put that plugin in the corresponding plug-ins folder, but when I launch that plugin, GIMP hangs up.

Thanks in advance!

Print this item

  Scalers resolution
Posted by: TwoCanes - 01-14-2024, 06:28 PM - Forum: General questions - Replies (3)

Hi,

I'd like to change the default X and Y resolutions for the Image/Layer Scalers
from 72 to 300

Any way to do that?

-K

Print this item

  Using files path as variables from .bat
Posted by: DeX - 01-14-2024, 03:02 PM - Forum: Scripting questions - Replies (1)

Hello,
I have a problem with script in Python-FU. I want to run the script by drag-and-drop two files on .bat file.
Script is working fine when I run it from GIMP menu, but from .bat i receive error:

Code:
Error: Invalid number of arguments for python-fu-file-import-as-layer (expected 5 but received 2)

.bat file:
Code:
@echo off
setlocal enabledelayedexpansion

if "%~2"=="" (
   echo Please provide two file paths.
   pause
   exit /b
)
set "file1=%~1"
set "file2=%~2"
start "" "C:\Program Files\GIMP 2\bin\gimp-2.10.exe" -b "(python-fu-file-import-as-layer \"%file1%\" \"%file2%\")"

exit /b


file-import-as-layer.py
Code:
#!/usr/bin/env python2
from gimpfu import *

def file_import_as_layer(fname_one, fname_two, image, layer):

   try:
       # Load the main image
       image = pdb.gimp_file_load(fname_one, fname_one)

       # Check if the image loaded successfully
       if not image:
           raise Exception("Failed to load the main image.")

       # Load the second image as a layer
       drawable2 = pdb.gimp_file_load_layer(image, fname_two)

       # Check if the layer loaded successfully
       if not drawable2:
           raise Exception("Failed to load the second image as a layer.")

       # Make sure the second layer is visible
       pdb.gimp_item_set_visible(drawable2, True)

       # Get the layer position in the layer stack
       position = len(image.layers)

       # Create a new image for both layers
       new_image = pdb.gimp_image_new(image.width, image.height, image.base_type)

       # Duplicate the main layer
       new_layer_main = pdb.gimp_layer_new_from_drawable(image.layers[0], new_image)
       
       # Duplicate the second layer
       new_layer_inserted = pdb.gimp_layer_new_from_drawable(drawable2, new_image)
       
       # Insert the main layer into the new image
       pdb.gimp_image_insert_layer(new_image, new_layer_main, None, 0)

       # Insert the second layer into the new image
       pdb.gimp_image_insert_layer(new_image, new_layer_inserted, None, 1)

       # Show the new image with both layers
       gimp.Display(new_image)

   except Exception as e:
       pdb.gimp_message("Error: {}".format(str(e)))

# Register the Python-fu script
register(
   "python_fu_file_import_as_layer",
   "Import a file as a layer",
   "Import a file as a layer into the current image",
   "Author",
   "Author",
   "2024",
   "<Image>/File/Import As Layer...",
   "*",
   [
       (PF_STRING, "fname_one", "Main Image", ""),
       (PF_STRING, "fname_two", "Image to import as layer", "")
   ],
   [],
   file_import_as_layer
)

main()


What arguments I need to specify?

Print this item

  Auto fit brush to image?
Posted by: R Soul - 01-14-2024, 01:21 PM - Forum: Extending the GIMP - Replies (12)

Hello.

I sometimes use a set of grunge brushes which tile seamlessly. Very good for game textures and other 3d scenes. To fit them to the image currently requires a couple of steps which I'd prefer to simplify:

1. Manually set brush size to image size (this usually applies to square images so the size value on its own is usually enough).


2. Create horizontal and vertical guides at 50% each (or zoom in and be careful). I recently installed a guides plugin which makes this a little easier.
Another option I read about was to set up the grid so that its lines cross at the centre, but that's quite a few steps and some people might want the grid for other uses.

The above may only be 2 steps but I may have several layers with different grunge brushes, and/or be making several images, so those 2 steps can multiply quite quickly. Some repetition will be needed if, between adding grunge brushes, I change the brush size for other things (e.g. eraser, painting, cloning etc).

Does anyone know if there are any addons that could simplify the above process? If not, I'd be happy to raise a feature request on the GNome page for 3.2 (I'm aware that 3.0 is now having just it's existing features tweaked, which makes sense).

Print this item

  Proof of concept two
Posted by: Tas_mania - 01-14-2024, 03:49 AM - Forum: Scripting questions - Replies (2)

I improved the animation I posted on the other forum Smile


[Image: MM-FlagVirtualSphereRotate.webp]

Started with a rectangle select of a fractal. I used mathmap flag chained to animated sphere. This makes a continuous animation. The sphere has an alpha background so it's a virtual sphere.

That makes the front animation. The back animation is the front reversed and made to look like it's on the inside of a sphere with G'MIC Distort lens. (not ideal because the front is alredy distorted)

Gimp has a tool called Script-fu Spinning globe. I checked it out because I'm looking for something that maps an image to the inside of an object. I was surprised to see that it was written in 1998. It makes the back and front similar or identical but I don't understand how it does the back. It feels like it was made in the 1990's Smile

I packed the 90 layers of the back and scaled them to meet-up with the 90 packed layers on the front. I think the back is more of an optical illusion than a properly mapped object.

If anyone knows of a better way of doing something like this I would like to know?

Print this item

  Interpret text code as image or custom symbol
Posted by: Piq - 01-13-2024, 05:16 PM - Forum: General questions - Replies (5)

Hello everyone. I am using GIMP for a project of mine and I need to facilitate the implementation of small pictures/icons when using them in the middle of a text, like you can find in card games.

Let's say I write a text as "This is a [heart] wow", could GIMP interpret [heart] as a symbol/picture and automatically replace it as follow : "This is a Heart wow" ?


Is there a way for GIMP to "translate" a custom text code into an image ? Is there an option or plugin you guys know ? Thank you for your help and sorry for the weird question, google hasn't helped me.

Print this item

  Moving a Pasted Object
Posted by: Ditto Butters - 01-12-2024, 05:51 PM - Forum: General questions - Replies (1)

HI, I think I used to be able to paste an image - be it a copy of another open image in GIMP or from a Windoze snip and then immediately move it around.  I'm no longer able to do so and find it very frustrating. Can anyone help, please?

The forum won't let me post images despite allowing me to paste them in, I hope I can describe what is happening.  I'm using GIMP 2.10.36 on Win 10.

1) I create a new image


2) I then open another image (or copy to my clipboard from another source):

3) I Control C the above and then paste in the new image.  Dang if I can't move it at all.  All I get is the cross hair with a crossed circle?.  How am I messing this up?

Thanks so much.

Print this item