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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,624
» Latest member: Josephmally
» Forum threads: 7,490
» Forum posts: 40,881

Full Statistics

Latest Threads
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: GrumpyDeveloper
9 hours ago
» Replies: 8
» Views: 2,884
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: Ofnuts
10 hours ago
» Replies: 1
» Views: 75
Clone size randomly chang...
Forum: General questions
Last Post: oldschool1@runbox.com
Yesterday, 05:45 PM
» Replies: 2
» Views: 146
AI Gimp Plugins
Forum: Watercooler
Last Post: Zbyma72age
Yesterday, 03:31 PM
» Replies: 20
» Views: 53,309
Gimp closes automatically
Forum: General questions
Last Post: sallyanne
Yesterday, 05:50 AM
» Replies: 2
» Views: 191
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
07-16-2025, 11:10 AM
» Replies: 12
» Views: 3,800
Is This Possible ? Print ...
Forum: General questions
Last Post: sallyanne
07-16-2025, 07:47 AM
» Replies: 4
» Views: 191
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-16-2025, 07:16 AM
» Replies: 1
» Views: 140
producing an image
Forum: Gallery
Last Post: MJ Barmish
07-15-2025, 06:37 PM
» Replies: 0
» Views: 106
GIMP 3.x: Editing a pdf
Forum: General questions
Last Post: rich2005
07-15-2025, 03:20 PM
» Replies: 1
» Views: 128

 
  [SOLVED] Unbind F1 key
Posted by: justonce01 - 06-23-2018, 08:54 PM - Forum: Linux and other Unixen - Replies (2)

How can I remove the F1 shortcut in GIMP 2.10?
I used to have a snippet in gtkrc inside GIMP's config which disabled the F1 shortcut, which I could then use for something else. This is the snippet:


Code:
binding "gimp-help-binding" {
unbind "F1"
}
class "GtkWidget" binding "gimp-help-binding"



But now after upgrading to 2.10 it doesn't work anymore. Does anyone have an idea why and how I could unbind F1 again? Why isn't it possible to do so within the menu?

Print this item

  Distress Selection
Posted by: Espermaschine - 06-23-2018, 06:39 PM - Forum: Extending the GIMP - Replies (11)

This script is under Selection -> Distort. 
Im interested in the steps.

As far as i can tell, it does the following:

- Spread
- Blur
- Levels (alpha)

But the code says Threshold instead of Levels, which is odd, because Threshold doesnt have an alpha option.

Code:
;
; distress selection
;
;
; Chris Gutteridge (cjg@ecs.soton.ac.uk)
; At ECS Dept, University of Southampton, England.

; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program.  If not, see <http://www.gnu.org/licenses/>.

; Define the function:

(define (script-fu-distress-selection inImage
                                     inDrawable
                                     inThreshold
                                     inSpread
                                     inGranu
                                     inSmooth
                                     inSmoothH
                                     inSmoothV)

 (let (
      (theImage inImage)
      (theWidth (car (gimp-image-width inImage)))
      (theHeight (car (gimp-image-height inImage)))
      (theLayer 0)
      (theMode (car (gimp-image-base-type inImage)))
      (prevLayer (car (gimp-image-get-active-layer inImage)))
      )

   (gimp-context-push)
   (gimp-context-set-defaults)
   (gimp-image-undo-group-start theImage)

   (if (= theMode GRAY)
     (set! theMode GRAYA-IMAGE)
     (set! theMode RGBA-IMAGE)
   )
   (set! theLayer (car (gimp-layer-new theImage
                                       theWidth
                                       theHeight
                                       theMode
                                       "Distress Scratch Layer"
                                       100
                                       NORMAL-MODE)))

   (gimp-image-insert-layer theImage theLayer 0 0)

   (if (= FALSE (car (gimp-selection-is-empty theImage)))
       (gimp-edit-fill theLayer BACKGROUND-FILL)
   )

   (gimp-selection-invert theImage)

   (if (= FALSE (car (gimp-selection-is-empty theImage)))
       (gimp-edit-clear theLayer)
   )

   (gimp-selection-invert theImage)
   (gimp-selection-none inImage)

   (gimp-layer-scale theLayer
                     (/ theWidth inGranu)
                     (/ theHeight inGranu)
                     TRUE)

   (plug-in-spread RUN-NONINTERACTIVE
                   theImage
                   theLayer
                   inSpread
                   inSpread)

   (plug-in-gauss-iir RUN-NONINTERACTIVE
          theImage theLayer inSmooth inSmoothH inSmoothV)
   (gimp-layer-scale theLayer theWidth theHeight TRUE)
   (plug-in-threshold-alpha RUN-NONINTERACTIVE theImage theLayer inThreshold)
   (plug-in-gauss-iir RUN-NONINTERACTIVE theImage theLayer 1 TRUE TRUE)
   (gimp-image-select-item inImage CHANNEL-OP-REPLACE theLayer)
   (gimp-image-remove-layer theImage theLayer)
   (if (and (= (car (gimp-item-is-channel inDrawable)) TRUE)
            (= (car (gimp-item-is-layer-mask inDrawable)) FALSE))
     (gimp-image-set-active-channel theImage inDrawable)
     )
   (gimp-image-undo-group-end theImage)

   (gimp-image-set-active-layer theImage prevLayer)

   (gimp-displays-flush)
   (gimp-context-pop)
 )
)


(script-fu-register "script-fu-distress-selection"
 _"_Distort..."
 _"Distress the selection"
 "Chris Gutteridge"
 "1998, Chris Gutteridge / ECS dept, University of Southampton, England."
 "23rd April 1998"
 "RGB*,GRAY*"
 SF-IMAGE       "The image"              0
 SF-DRAWABLE    "The layer"              0
 SF-ADJUSTMENT _"Threshold (bigger 1<-->254 smaller)" '(127 1 254 1 10 0 0)
 SF-ADJUSTMENT _"Spread"                 '(8 0 1000 1 10 0 1)
 SF-ADJUSTMENT _"Granularity (1 is low)" '(4 1 25 1 10 0 1)
 SF-ADJUSTMENT _"Smooth"                 '(2 1 150 1 10 0 1)
 SF-TOGGLE     _"Smooth horizontally"    TRUE
 SF-TOGGLE     _"Smooth vertically"      TRUE
)

(script-fu-menu-register "script-fu-distress-selection"
                        "<Image>/Select/Modify")

Print this item

  ofn-stroke-fill-paths
Posted by: Ofnuts - 06-23-2018, 09:00 AM - Forum: Extending the GIMP - Replies (11)

Following EsperMachine's remarks, I'm going to upgrade the script formerly known as stroke-fill-visible-paths. The changes I envision are:

  • add a "reverse gradient" option
  • add stroke in "line" mode for cleaner results
  • possibly split the stroke/fill choices in two different menu entries

Anything else?

Print this item

  How to make a circle meander?
Posted by: Bard - 06-23-2018, 05:27 AM - Forum: General questions - Replies (12)

hello, i want to make this image into a circle, https://imgur.com/d6douAv

that looks like this https://it.depositphotos.com/185081200/s...ament.html

Print this item

  New to Gimp
Posted by: iEnemyBeneath - 06-23-2018, 01:33 AM - Forum: General questions - Replies (1)

Hello all,

I am very very new to Gimp and image programs in general.  I have been trying to make logos and stuff for my Twitch stream.

I am having an issue when I make a circle and fill it with color.  As soon as I do Select---->None, the whole page changes color and I can't seem to figure out how to keep that from happening.

Any ideas?

Thank you in advance,
iEnemyBeneath


I want to note that I have followed along with youtube videos to get the feel of the program and for some reason my program doesn't seem to work the same way as the people's in the video. Almost like I missed I step along the way.

Print this item

  Cannot choose paper size when printing
Posted by: ajax - 06-22-2018, 07:42 PM - Forum: General questions - Replies (9)

Using GIMP 2.10.2 on Windows.

I've edited an image and set the "Print Size" to 5x7 with the intention of printing on 5x7 paper.  I select "File>Print" and then choose "Preferences" which invokes the setup options for my printer, which is Canon Pixma Pro-100, driver.  Using these setup options I choose 5x7 for the paper size.  Then when the driver is invoked (i.e., "Print" is selected), where I've asked for a preview during the setup, the paper size is now specified 8.5x11 and the preview shows the 5x7 picture to be printed in the upper left corner of the page.

I think this is a pretty straightforward, commonly used, interface that I'm using correctly.  If not what did I miss?  If so, what about fixing GIMP.

Print this item

  ofn-stroke-visible-paths problem
Posted by: Espermaschine - 06-22-2018, 04:26 PM - Forum: Extending the GIMP - Replies (5)

Im trying to replicate this effect with ofnuts' script.

My paths go from biggest on top, to smallest at the bottom.
I've got a gradient set up, yellow is at the beginning, going to red, to blue, to white at the end.

When i execute the script, with parameters:

From Gradient, Stroke and Multiple Layers, i get a bunch of single colour filled layers.
Yellow is at the bottom and not on the top....

When i execute the script with parameters:
From Gradient, Stroke and Single Layer, i get everything merged as expected, but the colours are again with yellow at the bottom.
Reversing the gradient doesnt change that.

So i edited the gradient and flipped it. Now it strokes the paths in the expected way, but i need multiple layers and that is still broken.
I dont understand why the script strokes the paths from bottom to top and why it doesnt accept reversing the gradient in the Tool Options (btw, this is all in Gimp 2.8).
It seems it strokes the paths in the order of the pathname (which has got numbers), but thats not how a 3D effect works.

Print this item

  Seeing red
Posted by: Ofnuts - 06-22-2018, 03:35 PM - Forum: Gallery - Replies (2)

   

Print this item

  Image Scaling Interpolation options
Posted by: fotofill1969 - 06-21-2018, 09:40 PM - Forum: Gimp 2.10 - Replies (6)

1) Using Gimp 2.10.2  2) Mint 18.3
 
With Gimp 2.8 I had the option of selecting "Sinc Lanczos2" as the interpolation policy under "Image/Scale Image."
With Gimp 2.10 the options are "None," "Linear," Cubic," "NoHalo," and "LoHalo."  "Sinc (Lanczos3)" as recommended on the Gimp website is not offered as an option. I have been using "NoHalo" which seems to be OK, but I'd feel more comfortable using the Sinc (Lanczos3) because of the recommendation. Is there a way to install that profile or policy?

Print this item

  Color change like night mode
Posted by: Defacta - 06-21-2018, 08:51 AM - Forum: General questions - Replies (7)

Hello,

I am stuck on a particular problem. I am under Windows and on night I use SunsetScreen to switch my screen to the night mode.

And I have images that I prefer when this tool is running (with default values (Sunset colour (K) 4100)  but I can't reproduce this color change on Gimp.

I know the default tool of Gimp: Colors -> Color Temperature but I just can't reproduce the same result of the tool Sunset colour. Or the same result of my iPhone night mode.

Would you have an idea?

Thanks for any help,
Vincent.

Print this item