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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,264
» Latest member: jack63ss
» Forum threads: 6,600
» Forum posts: 35,960

Full Statistics

Latest Threads
AI items does not appear
Forum: Extending the GIMP
Last Post: Ofnuts
1 hour ago
» Replies: 11
» Views: 209
Blending in Images into M...
Forum: Extending the GIMP
Last Post: Ofnuts
4 hours ago
» Replies: 5
» Views: 98
Suggestion on removing a ...
Forum: General questions
Last Post: Muzician
11 hours ago
» Replies: 7
» Views: 116
Problem with 8bit bmp
Forum: General questions
Last Post: JayR1994
Yesterday, 08:21 AM
» Replies: 3
» Views: 90
Setting up Darktable in G...
Forum: OSX
Last Post: rich2005
03-27-2024, 08:55 AM
» Replies: 2
» Views: 123
Beer belly
Forum: General questions
Last Post: Krikor
03-26-2024, 05:29 PM
» Replies: 13
» Views: 643
Darktable
Forum: Extending the GIMP
Last Post: PixLab
03-26-2024, 10:24 AM
» Replies: 2
» Views: 140
Gimp 2.10 on Debian: Xsan...
Forum: General questions
Last Post: rich2005
03-26-2024, 08:37 AM
» Replies: 2
» Views: 128
Shift-S to resize not wor...
Forum: General questions
Last Post: buzzie44
03-25-2024, 09:54 PM
» Replies: 6
» Views: 168
Stain removal suggestions...
Forum: General questions
Last Post: Krikor
03-25-2024, 08:02 PM
» Replies: 1
» Views: 114

 
  Troubles with guide position
Posted by: alvk - 11-05-2022, 12:19 AM - Forum: Scripting questions - Replies (5)

Hello everyone!

I'm using gimp to make figures for my scientific papers. Often I need to place a guide in a certain position relative to a selected layer. I'm trying to write a pretty simple script, that do the job. However, I have a problem with it. I want to have a checkbox, with indicates whether the guide should be placed within the selected layer or not. But it doesn't work. Every time, the script return negative value for guide position. If I have a multilayer image, this means that the guide is placed outside the active layer, regardless of the state of the checkbox. If I have a single layer image, I get an error, that the guide is outside the image. Could anyone help me to solve this problem? The full script is below. Thank you!

Code:
(define (script-fu-custom-guide image
                        drawable
                        orientation
                        position
                        in_toggle)

 (let* (
        (lwidth (car (gimp-drawable-get-width image)))
        (lheight (car (gimp-drawable-get-height image)))

        (offx (car (gimp-drawable-get-offsets drawable)))
        (offy (cadr (gimp-drawable-get-offsets drawable)))

        (if (= in_toggle TRUE) (position (* -1 position)))

        (guide_position
          (cond ((= orientation 0) (- offx position)) ; guide on left
                ((= orientation 1) (+ offx lwidth position)) ; guide on right
                ((= orientation 2) (- offy position)) ; guide on top
                ((= orientation 3) (+ offy lheight position)) ; guide on bottom
                )
          )
        )

   (if (< 1 orientation)
     (gimp-image-add-hguide image guide_position)
     )
   (if (> 2 orientation)
     (gimp-image-add-vguide image guide_position)
     )
   (gimp-displays-flush)
   )
 )

(script-fu-register "script-fu-custom-guide"
 _"_Custom guide"
 _"Adds a vertical or horizontal guide to the image"
 ""
 ""
 ""
 "*"
 SF-IMAGE       "Input image"    0
 SF-DRAWABLE    "Input drawable" 0
 SF-OPTION _"_Orientation"         '(_"Left" _"Right" _"Top" _"Bottom")
 SF-ADJUSTMENT _"_Position"         (list 20 0 MAX-IMAGE-SIZE 1 10 0 1)
 SF-TOGGLE     _"Within a layer?"  FALSE
)

(script-fu-menu-register "script-fu-custom-guide"
                        "<Image>/Figures")

Print this item

  How to add FFT to GIMP 2.8 (on old Betsy version of Mint)
Posted by: Moreach - 11-04-2022, 11:21 PM - Forum: Linux and other Unixen - Replies (17)

I need to use descreen. I've tried to add FFT but the tutorial gives Windows directions. I can't find my C: drive.

Print this item

  Plugin Darktable
Posted by: benoit - 11-04-2022, 07:24 PM - Forum: Installation and usage - No Replies

Hello

The interoperability feature with Darktable, which allows to open a RAW file in Darktable from Gimp, does not work.

Gimp is not able to open the RAW file modified by Darktable.
Here is the error window:

--------------------------------------------------------
GIMP Message :
Calling error for procedure 'gimp-file-load':
Error opening file '/tmp/gimp/2.10/gimp-temp-253451.exr' for reading


GIMP Message
Opening '/home/benoit/RAW/D7100/DCIM/111D7100/NII_2044.NEF' failed:

Raw Nikon plug-in could not open image


--------------------------------------------------------

I am running Debian GNU/Linux

My Darktable version: 4.0.1
Of Gimp : 2.10.22

I specify that it works on another computer under Debian GNU/Linux in Testing, therefore with other versions of Gimp and Darktable.

Thanks in advance


--
Benoit

Print this item

  This isn't going to attract new users in Somerset
Posted by: Ofnuts - 11-04-2022, 09:08 AM - Forum: Watercooler - Replies (2)

https://inews.co.uk/news/somerset-gimp-s...an-1949011

Print this item

  Installing Third Party plugins in GIMP
Posted by: Laco - 11-03-2022, 11:59 AM - Forum: Extending the GIMP - Replies (4)

I am new to the forum and new to GIMP.
 
I tried researching the subject of how to install plugins in GIMP, but every tutorial I could find was in reference to GIMP plugins only—plugins designed specifically for GIMP. Can anyone tell me if third party plugins can be installed in GIMP? Specifically, I am wanting to use Topaz Photo AI as a plugin in GIMP.

I know how to find the GIMP plugins folder, but I don’t know which part of the Topaz Photo AI folder to put in there.

Print this item

  What is Gimp's equivalent of "Clip to Layer Below"?
Posted by: abvieon - 11-02-2022, 11:25 PM - Forum: General questions - Replies (2)

Hi, I'm brand new to using Gimp. Before this I mainly used Clip Studio Paint, which has a feature called clip to layer below. It allows you to make a layer you can clip to another layer, anything you draw on the clipped layer will only show up on the layer underneath. It's useful if you want to change your lineart to a different color, for example. Does Gimp have anything that allows me to do this?

Print this item

  How to fill entire image from gradient outline
Posted by: ahsaul - 11-02-2022, 02:27 PM - Forum: General questions - Replies (10)

I have an outline from an image that is gradient and I'm trying to make the entire image (square) match the gradient. Is there a fairly easy way to accomplish this?



Attached Files Thumbnail(s)
   
Print this item

  No icons in drop-down pull-down menus
Posted by: MichaJo - 11-02-2022, 08:56 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

Is it intentional not to have icons in the drop-down / pull-down menus of GIMP 3.0?
Or is it just the development status of GIMP 2.99 and it's themes?

   

Does anybody know?

Michael

Print this item

  Hotkey issue
Posted by: Amy Lu - 11-02-2022, 04:30 AM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (8)

So I asked about this a few years ago, and as I had to reinstall GIMP, I'm running into the issue with creating custom hotkeys.

What I want to do is assign 'P' as the path tool, but no matter what I do, GIMP still has 'B' as its hotkey. I've gone to preferences and tried defining them there, and even keyboard shortcuts, but nothing works. It still has 'B' as the shortcut.

I'll attach an image showing this. But you can see I have it assigned as 'P', but it's not applying whatever key I insert.

Any help would be awesome.

Edit: Just to add; I'm using GIMP 2.8.22



Attached Files Thumbnail(s)
   
Print this item

Photo pen tablet input, wrong "aspect ratio" (XP Pen Deco Fun)
Posted by: jakobtritten - 11-01-2022, 05:43 PM - Forum: General questions - Replies (1)

SOLVED

I have no problem using my XP Pen Deco Fun tablet in Gimp — except for the "aspect ratio" (which may or may not be the best terminology). The pressure sensing feature works wonderfully, and I'm really excited about using a pen instead of a mouse. It's important to note that I've never experienced problems using this pen tablet with any other app. //UPDATE: I just discovered that it does the same thing in Krita. It does not do it in MS Paint or web apps (such as Kleki.com).// I have experienced this same drawing problem on two different laptops (different, and yet both are running Win 10 Home 64). This is a really obvious problem (as you will see in the attached gif), but I've been unable to track down anyone else with a similar problem. I feel like there ought to be a setting somewhere for this. Why do such advanced programs like Gimp and Krita have a problem when basic applications (like Paint) have no issue? It's mysterious to me. 

Thank you in advance for any advice. 

I forgot to mention that, in the gif, I am tracing a round object. What comes out as an oval ought to be a circle.



Attached Files Thumbnail(s)
   
Print this item