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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,305
» Latest member: Paul57690
» Forum threads: 6,633
» Forum posts: 36,128

Full Statistics

Latest Threads
Is there a way to make a ...
Forum: General questions
Last Post: Ellye
44 minutes ago
» Replies: 0
» Views: 8
Font manager not managing...
Forum: Other graphics software
Last Post: PixLab
2 hours ago
» Replies: 9
» Views: 243
Printing on an envelope
Forum: General questions
Last Post: PixLab
3 hours ago
» Replies: 1
» Views: 49
GIMP is exporting and ope...
Forum: General questions
Last Post: Grant_H
Yesterday, 06:26 PM
» Replies: 8
» Views: 3,069
Select By Color Bug?
Forum: General questions
Last Post: rich2005
Yesterday, 02:40 PM
» Replies: 1
» Views: 70
No time and skills to mak...
Forum: Other graphics software
Last Post: denzjos
Yesterday, 11:30 AM
» Replies: 0
» Views: 48
Fatal crash on quit - aft...
Forum: Linux and other Unixen
Last Post: MrsP-from-C
04-14-2024, 02:46 PM
» Replies: 2
» Views: 107
GimpScripts Shutting Down...
Forum: Watercooler
Last Post: PixLab
04-14-2024, 10:57 AM
» Replies: 5
» Views: 325
Where is "Advanced color ...
Forum: General questions
Last Post: PixLab
04-14-2024, 02:50 AM
» Replies: 4
» Views: 246
Creating a customizable d...
Forum: General questions
Last Post: OJS
04-13-2024, 04:52 PM
» Replies: 8
» Views: 187

 
  Single window
Posted by: sl60 - 09-23-2023, 05:08 AM - Forum: General questions - Replies (3)

Out of nowhere  Gimp switched to single window mode with fixed panels. So I unchecked the single window box and it reverted to a blank page. When I go to Windows>Dockable Dialogs and click on the Layers Panel, for example, it opens the panel but it jumps to full page spread out in a horizontal format.

How can I restore my set-up to a normal page with movable panels for Layers, Tools, etc.?

Print this item

  Gimpfu missing in GIMP v. 2.10.34 ?
Posted by: jcj2249 - 09-22-2023, 08:29 PM - Forum: General questions - Replies (1)

I am doing astrophotography and I added the PyAstro for GIMP plugins (https://stargazy.weebly.com/pyastro-for-gimp.html). 
These plugins use Python and my system is macOS 11.7.10.
They work perfectly on GIMP v. 2.10.32.
But they don’t work at all on GIMP v. 2.10.34.
The error is located in the scripts at : from gimpfu import *
Is the gimpfu file missing in GIMP v. 2.10.34 ?

Print this item

Python Python Out of Sequence?
Posted by: Kjaamor - 09-22-2023, 04:31 PM - Forum: Scripting questions - Replies (2)

I wrote a python script that removes a background colour from an image, orientates the remainder, resizes the image and then overwrites the existing image file. All of the functions work as expected...but they don't happen in the order expected. The final two lines (below) happen in reverse order.


Quote:    pdb.gimp_image_resize(imageToBeResized, 900, 1500, widthoffset, heightoffset)
    pdb.gimp_file_save(imageToBeResized, drawable, imageFileName, imageFileName)


 So the image will overwrite before being resized, and I have no idea why this is the case.

  1. Running the second line twice makes no difference - it will continue to overwrite without resizing.
  2. Duplicating both lines (1,2,1,2) actually shifts the affected area so that it saves in 900*1500 but to the image focus' upper left.
Anyone have any idea why this would be?

Full code below for reference:

Quote:def postmatch_resize(image):
    imageFileName = pdb.gimp_image_get_filename(image)
    imageToBeResized = gimp.image_list()[0]
    drawable = pdb.gimp_image_active_drawable(imageToBeResized)
    pdb.gimp_image_crop(imageToBeResized, 1900, 1500, 0, 0)
    colorToDelete1 = gimpcolor.RGB(9, 246, 57)
    colorToDelete2 = gimpcolor.RGB(6, 185, 42)
    colorToDelete3 = gimpcolor.RGB(7, 216, 50)
    colorToDelete4 = gimpcolor.RGB(4, 123, 28)
    colorToDelete5 = gimpcolor.RGB(5, 154, 35)
    colorToDelete6 = gimpcolor.RGB(3, 93, 21)
    colorToDelete7 = gimpcolor.RGB(2, 62, 14)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete1)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete2)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete3)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete4)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete5)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete6)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete7)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.plug_in_autocrop(imageToBeResized, drawable)
    preheight = pdb.gimp_image_height(imageToBeResized)
    prewidth = pdb.gimp_image_width(imageToBeResized)
    heightoffset = 1500 - preheight
    widthoffset = (900 - prewidth)/2
    pdb.gimp_image_resize(imageToBeResized, 900, 1500, widthoffset, heightoffset)
    pdb.gimp_file_save(imageToBeResized, drawable, imageFileName, imageFileName)

I doubt very much that the above cobbled together solution is optimal so I'll take pointers but I'm also curious as to why it doesn't work sequentially? I thought that was the whole point.

Print this item

  Fill selected space with image
Posted by: pathblazerphoto - 09-22-2023, 01:50 PM - Forum: General questions - Replies (1)

Hi All

So I have an image with a blank white space and a hand around it, I am selecting the white space and now want it to add an image into that white space, adjusting for perspective etc. Is this possible in gimp? I am aware of how to do it manually, was hoping of a quicker method

Print this item

  Photomerge Capability
Posted by: Bernard46 - 09-22-2023, 08:18 AM - Forum: General questions - Replies (2)

There's a very useful function in Adobe Photoshop Elements called Photomerge - this allows you to scan a very large document in several images and then combine them into a single image by just opening each one in the program and choosing the Photomerge tool. There are variations in the tool like Exposure or Panorama - it is the Panorama one I'm particularly interested in. I haven't been able to find anything similar in function or simplicity in GIMP - can anyone tell me if a Photomerge function is available in GIMP please?

Print this item

  How do I change selection behaviors?
Posted by: Greymalkin - 09-22-2023, 04:11 AM - Forum: General questions - Replies (4)

I'm currently using Gimp 2.14 on Windows 11. I am having trouble with the selection tool. This is a problem with all selection tools (rectangular, oval, cage, freehand, ect). 

Old behavior (desired): Click selection tool. Select the area of the canvas you want. Work inside the area. Click outside of the selected area. The area is un-selected. To add to the selected area, hold + and select a second area. To remove from the selected area, hold - and select the area to un-select. If no area has been selected, you may work on the entire canvas.

New behavior (make it stop!): Click selection tool. Select the area of the canvas you want. Area remains selected until you un-select it manually. To un-select you hold - and select the area you want to have un-selected. Unless an area has been selected, no tools will work on the canvas. You must select the entire canvas to be able to work on the entire canvas. If the entire canvas has been selected, you must un-select the entire canvas manually to be able to select a small part of the canvas.

The new behavior has been a nightmare for my workflow. I am constantly being forced to zoom out and remove all selected areas manually. I also have to constantly reselect the entire canvas so I can get back to work on the bigger picture. It's tedious and very annoying.

How do I get the old behavior back?

Print this item

  perspective tool ?
Posted by: voun - 09-21-2023, 08:28 AM - Forum: General questions - Replies (6)

Hi
i used to use in photoshop a tool which was able to transform a polygon with 4 sides to a rectangle. on ordre toi make perspective disappear. you juste select the 4 points if the polygon and then activate the function and you obtain a rectangle.
i no longer have photoshop and need this fonction.
does it exist in the
Gimp ?
thanks for your help !

Print this item

  Unified Transform Tool
Posted by: sallyanne - 09-21-2023, 02:12 AM - Forum: General questions - Replies (3)

Is there a tutorial here on how this tool can be utilised. I am pretty sure I have seen it talked about on here. I know I could probably find one at You Tube but yours would be sufficient. Don't need to go to Davies Media for all my info.

Print this item

  Automate an action
Posted by: Gypsie38 - 09-20-2023, 11:53 AM - Forum: Scripting questions - No Replies

Hi, I wish to automate an action that takes actually 6 click, to only 2 clicks , This is what I'm thinkinf of :
I click on a new "button" (I need your help to create it) that opens a setting windows. Then I can choose a kind of shape (circle/ellipse/square) to draw a shape on an image, then click on valid. The result is a blur added on the shape

(Instead of clicking on the shape button in the tool box, then select a zone on the image, then click on the Filters menu, then click on Blur, then click on Gaussian blur, then choose the level of blur, then valid.)

Thanks for your help (I don't know anything about programming!

Print this item

Question How to make part of a texture Invisible or Fully Transparent in DDS files?
Posted by: Reefus - 09-20-2023, 08:01 AM - Forum: General questions - No Replies

I've been searching for an answer to this for a few days now. Though none of the suggested methods seems to work. 

I'm just editing a Diffuse map and want to clear a certain texture element so it appears invisible in-game. The frustrating thng is, no matter what I do to the selection nothing ever changes. 

I've tried deleting, erasing, manipulating the layers, adding masks, adjusting transparency thresholds, but the texture is completely unphased by it. 

To offer more context, it's a Diffuse.dds texture file which I've been editing successfully. It all works in-game, even the specularity. I just can't figure out how to make parts of the texture invisible or transparent. 

The texture file already has an Alpha and only one layer, the Diffuse.dds. There also exists a Normal map for this object, which just looks like purple nonsense to me. I haven't done much experimenting with that file. 

Anyone have an idea what is going on here?

Print this item