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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,780
» Latest member: Fennec72
» Forum threads: 7,594
» Forum posts: 41,394

Full Statistics

Latest Threads
Is there any version wher...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: HavingTooMuchFun
5 hours ago
» Replies: 0
» Views: 77
How to make a watermark o...
Forum: General questions
Last Post: kyolim
Yesterday, 10:05 PM
» Replies: 5
» Views: 14,049
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
Yesterday, 06:06 PM
» Replies: 1
» Views: 370
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
Yesterday, 05:20 PM
» Replies: 2
» Views: 301
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 07:53 AM
» Replies: 15
» Views: 11,929
Photo play-time
Forum: Gallery
Last Post: Ofnuts
Yesterday, 07:32 AM
» Replies: 24
» Views: 21,780
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 653
pl_stroke_arrows GIMP 3.0...
Forum: Extending the GIMP
Last Post: Scallact
09-12-2025, 04:03 PM
» Replies: 0
» Views: 307
How do you make text circ...
Forum: General questions
Last Post: rich2005
09-12-2025, 07:18 AM
» Replies: 12
» Views: 3,403
New Install, Black Screen...
Forum: OSX
Last Post: akhrameev
09-11-2025, 02:32 PM
» Replies: 3
» Views: 3,062

 
  Hard drive noises when performing operations
Posted by: safsf - 02-05-2019, 04:39 PM - Forum: General questions - Replies (1)

I have gimp's tile cache size set to 5 GB (I have 8GB RAM, 1.75G in use). The temp and swap folders are set to a ramdisk. However, whenever I perform some function in gimp (say: moving a layer, filling a region, showing/hiding a layer), I hear what sounds like hard disk access.
How can I get GIMP to use my RAM which is more than sufficient for the size of images I edit, and not touch my disk except when saving and loading?

Print this item

  Cloning colors (newbie question)
Posted by: Garm - 02-05-2019, 02:25 PM - Forum: General questions - Replies (1)

Hi. I've been using the GIMP 2.8 for a while now for presentation materials, but that has generally involved repeating the same 4 - 5 tasks, so I don't really know the full range of options.

I have a series of photos I have been working on, and some of them were taken with an older camera. These photos seem to have a warmer and deeper color to them than the new ones. I've tried to recapture it by adjusting the camera settings but that does not yield any good results. I was wondering if there is any way of cloning the colors from the older photos to the newer ones, or other way of using the older photo as a template/base for new ones?

Print this item

  Crosshair Guides
Posted by: akovia - 02-05-2019, 01:52 AM - Forum: Extending the GIMP - No Replies

A feature that should have been in the core (IMHO) from the word go is center guides. aka "crosshairs"

I was watching the video about rotating using the measure tool here on the forums and it made me think how I would do it. I found this simple script years ago and can't imagine using gimp without it. It will drop 50% horizontal and 50% vertical guides on your current layer. It's nice that it goes by the layer and not image so it makes it easy to rotate objects and text on their center axis and not the center of the canvas size.

You can get center guides through all sorts of plugins, scripts, or even the menus, but if you bind this to a shortcut you are always just a key or key combo away from crosshair guides. I also use a shortcut to clear all guides so I can reuse my crosshairs easily when aligning multiple items. 





I do realize that I could have saved some steps by centering to the canvas first but wanted to show how to reuse the guides easily.



Attached Files
.zip   Gregs Crosshairs.scm.zip (Size: 588 bytes / Downloads: 698)
Print this item

Question Script-FU: Batch rotate script
Posted by: dnairb - 02-03-2019, 11:37 PM - Forum: Scripting questions - Replies (5)

I am trying to write a batch rotate script, to rotate a number of images by an angle which is passed to the script.
I have the following, which is successfully registered in Gimp:

Code:
(script-fu-register
  "script-fu-batch_arbitrary_rotate"
  "Batch Rotation"
  ""
  ""
  ""
  ""
  "*"
)

(script-fu-menu-register "script-fu-batch_arbitrary_rotate" "<Image>/Tools/My scripts")

(
define (script-fu-batch_arbitrary_rotate pattern inDegrees)
  (let*
    (
      (filelist (cadr (file-glob pattern 1)))
    )
    (while
      (not (null? filelist))
      (let*
        (
          (filename (car filelist))
          (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
          (radians ( / (* inDegrees 4 (atan 1.0)) 180)) ;converts angle <inDegrees> to radians
          (gimp-item-transform-rotate image radians FALSE 150 150)
          (drawable (car (gimp-image-get-active-layer image)))
          (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename)
        )
        (set! filelist (cdr filelist))
      )
    )
  )
)

This is called in terminal by (to rotate each image by 35 degrees and save):
Code:
gimp -i -b '(script-fu-batch_arbitrary_rotate "*.png" 35)' -b '(gimp-quit 0)'

The terminal output states: "batch command executed successfully", but the images are not rotated. The files' properties suggest that no operations were performed.

I have racked my brains over this; can anyone help with the above script?

Print this item

  Add new paint method ?
Posted by: Jack Parker - 02-03-2019, 10:48 PM - Forum: Scripting questions - Replies (14)

Is there a way (short of C code and recompiling GIMP) to add a custom paint-method?
I'd like to add a new painter to the list (gimp-context-list-paint-methods) 
So that (gimp-drawable-edit-stroke-selection drawable) will do a custom procedural edit to the pixels.

Print this item

  extend colormap in indexed pictures
Posted by: gizaha - 02-03-2019, 03:40 PM - Forum: Scripting questions - Replies (1)

Hello there. I have a problem that tortures me 2 days now. 
I want to extend the colormap at indexed pictures by one color with script fu.


;get colormap length from header
(set! colormap_length (car (gimp-image-get-colormap image)))     

;get colormap data from tail
(set! colormap (car (cdr (gimp-image-get-colormap image))))

;extend header
(set! colormap_length (+ colormap_length 3))      ;increaze by 3 bytes/1 color

;extend tail
;here, i want to make colormap:=colormap+"000000" thus extend the list

;set new colormap
(gimp-image-set-colormap image colormap_length colormap)

(Variables are defined ok)
I tried almost everythink while playing with let, set, list, cons car etc etc.
Thank you.

Print this item

  Avatar
Posted by: charlie84 - 02-03-2019, 02:00 PM - Forum: Gimp-Forum.net - Replies (2)

Hi, I tried to insert my avatar with dimensions smaller than 100x100 and less than 25Kb.

A message tells me that it has been accepted. Bat I do not see it on the forum near my nick name.

Print this item

  Why do people post more images in Winter?
Posted by: Ofnuts - 02-02-2019, 08:56 PM - Forum: Gimp-Forum.net - Replies (2)

[Image: WQEdWQu.png]

Print this item

  problem with set color to alpha
Posted by: rickk - 02-02-2019, 01:35 AM - Forum: General questions - Replies (13)

New to all of this, Perhaps I am trying to go about this the wrong way.....not sure.
But, for instance,  suppose I wanted to cut an image of somebody  out of picture "A", and insert it into an already existing image "B"

SO, I painstakingly draw a white area  all around the perimeter of the desired target image, then extend that white area sufficiently large that I can select and crop to a rectangular  image for use.
Then I review the image and find a color not in use in the  target image, say  HTML color h1cf905 for  example ....no sign of that color anywhere in the target image , and then change the white area surrounding the target to that color, and then set that color to alpha.


Hoping to paste that image, complete with the transparent surround, into the "B" image.
Except when I set the surround color to alpha, it's causing the colors in the target image to get all whacked out.  For instance  with the  color mentioned  set to alpha, everything is shifting into violet colors.

Almost seems like the "color to alpha" function isn't discriminating properly, and is perhaps shifting all greens to alpha?
Thanks in advance for pointing me in the right direction

Print this item

  Radius color to transparency overlay
Posted by: jayhova - 02-01-2019, 10:15 PM - Forum: General questions - Replies (2)

I'm trying to create a sort of overhead circular glow effect. Imagine looking down on a lamp from overhead and seeing a yellow or white glow that falls off with distance. I would like to lay this over an existing image of a map. I would the effect to be transparent Strongly colorizing the map at the center of the effect and falling off toward the edge of the effect like a radiant gradient. I'm far from a GIMP expert.

Print this item