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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,788
» Latest member: Arland
» Forum threads: 1,599
» Forum posts: 8,666

Full Statistics

Latest Threads
How to turn an RGB image ...
Forum: General questions
Last Post: trandoductin
41 minutes ago
» Replies: 0
» Views: 11
AddonCollection Manager P...
Forum: Extending the GIMP
Last Post: Ofnuts
Yesterday, 10:21 PM
» Replies: 11
» Views: 176
T-shirt Mock Up
Forum: General questions
Last Post: rich2005
Yesterday, 09:52 AM
» Replies: 2
» Views: 139
Problem with color — or m...
Forum: Gimp 2.10
Last Post: extra skater
07-15-2018, 09:23 PM
» Replies: 3
» Views: 105
Resynthesizer / heal-sele...
Forum: Extending the GIMP
Last Post: luna6616
07-15-2018, 05:42 PM
» Replies: 1
» Views: 8,399
Forum: Extending the GIMP
Last Post: Ofnuts
07-15-2018, 11:01 AM
» Replies: 0
» Views: 30
adding texture to apha ch...
Forum: Gimp 2.10
Last Post: Ofnuts
07-15-2018, 08:00 AM
» Replies: 1
» Views: 55
brand new and completely ...
Forum: OSX
Last Post: Ofnuts
07-15-2018, 07:50 AM
» Replies: 2
» Views: 72
Can't edit text when expo...
Forum: General questions
Last Post: Ofnuts
07-15-2018, 07:28 AM
» Replies: 2
» Views: 109
Script of the day
Forum: Gallery
Last Post: Ofnuts
07-14-2018, 12:41 PM
» Replies: 3
» Views: 157

  Nova with transparency
Posted by: grit - 12-18-2017, 10:44 PM - Forum: General questions - Replies (2)

How to make nova appear only with spokes and without gradient alpha? I like the gradient of nova in some cases but sometimes I would like only nova with spokes without that yellowish gradient in between spokes.

Attached Files Thumbnail(s)
Print this item

  Newbie - batch resizing of images
Posted by: prino - 12-18-2017, 09:26 PM - Forum: General questions - Replies (1)

I've used GIMP for a couple of years, always interactive, but now I would like to resize a rather large number of TIF files to a standard format. I have two types of files, "fronts" (t???r???-???.tif) and "backs" (t???r???-???b.tif)

Manually, I would

  • open the file
  • change the only the canvas, to 2310 x 4842 pixels
  • only for the "backs", add an "x" offset that is the difference between 2310 and the previous size
  • click resize
  • flatten the image
  • export it with Deflate compression
  • quit

and repeat (ad nauseam).

Is there a simple way to do this scripted. I'm a z/OS guy, and although I've RTFM, Script-Fu might just as well be Chinese to someone who's used to PL/I and REXX. And to boot, I really would like to have something that I can enter from the Windows command-line...

Print this item

  Smoothing jagged edge
Posted by: DynV - 12-18-2017, 03:44 PM - Forum: General questions - Replies (2)

I have some images with jagged edge; I made the background transparent and it was contrasting so I could leave little of the color fading in the result and the border not being gradual is obvious. I'd like to have the jagged edge smooth.

My first thought was anti-aliasing but I'm not sure GIMP have that and I wouldn't know what the best or most efficient way to go about with that. I did a search and the only relevant page I found was Fixing Jagged Image Edges with Gimp | Jafty Interactive Web Development, which I wonder if there's a better method.

Thank you kindly for your help

Print this item

  reddit (and the general state of the scene)
Posted by: Espermaschine - 12-18-2017, 10:45 AM - Forum: Watercooler - Replies (8)

I never bothered with promoting my blog, so i dont have many followers or daily hits (between 50-80 a day seems the average after 4,5 years).

Yesterday i posted a link to a new Inkscape tutorial on the Inkscape subreddit as an experiment to see how much traffic that would generate.
That gave me 25 hits in 18 hours so far.

I dont know, i use reddit for discussing movie and television stuff. It doesnt appear like a good place for helping with graphics design problems to me, but younger people seem to prefer it compared to forums.

I tried G+ for a while and found it awful. Never bothered with Facebook.
Do people use it as a forum substitute ?

I guess youtube is the biggest thing for getting content out, but i cant see myself investing in the tech and im not used to speaking english, so that might sound a little odd....
Also not sure about the future of YT. It seems since the adpocalypse, YT is on the decline and something different will appear at some time.
Or net neutrality will change it all.

Opinions ?

Print this item

  Gimp version questions
Posted by: grit - 12-18-2017, 10:22 AM - Forum: Gimp 2.10 - Replies (9)

I have Gimp 2.9.6 std. (larger install file) .

  1. How is that version different than other one ?

  2. Where to download 2.9.8 std ?

  3. Where to put G'MIC in 2.9.8 release? In GIMP 2.9\share\gimp\2.0 there is no plugin folder.
  4. STD version doesn't have console pop up when GIMP is active. General version has it.

Attached Files Image(s)
Print this item

Question Scaling (reducing) image with fonts
Posted by: rubinho - 12-17-2017, 05:16 PM - Forum: General questions - Replies (3)


I'm relatively new to GIMP but I know my way around the basics.

I have a layered image containing some raster images and some text which I want to reduce in size for print.

If I use the Scale Image command the text gets corrupted as it is scaled as a raster rather than reducing the font size. When I select it with the text tool I get a pop-up as shown:

[Image: attachment.php?aid=4152]

If I scale the layers individually and reduce the font sizes accordingly to get rid of the text corruption the layout of everything moves around so I cannot mantain the exact image I want.

How can I reduce the size of the image but ensure that rather than a raster resize of the text it reduces the font size by the correct amount? This way I should avoid the corruption and maintain my layout.


Print this item

  GIMP 2.9.8 Script slice and dice plz Help : unbound variable REPLACE
Posted by: the_papy - 12-17-2017, 12:30 PM - Forum: General questions - Replies (6)

¨plz Help
here the code:

but ERROR : eval: unbound variable REPLACE

:-( , in gimp 2.8 its work , no with gimp 2.9.8 :-(

; Studio Tecnico Arch. Giuseppe Conte  
; via Roma, 28
; 72026 - San Pancrazio Salentino (BR) - Italy
; Plugin  : slice-and-join.scm
; Author  : Arch. Giuseppe Conte
; Update  : Single Tech Games, Anonymous & Teseracto
; Date    : 03 marzo 2009 - San Pancrazio Salentino (BR)
; Revision: 23 mayo 2012
; Version : 1.1
; Last version at: http://xoomer.virgilio.it/lwcon/gimp/
; Help guide at  : http://xoomer.virgilio.it/lwcon/gimp/scripts/image-slice-and-join.htm
; Description:
; Slice: subdivide the active image in M x N Rows and Columns and save any rectangular portion in the new files.
;                Slice save into file *.rcm all the data necessary in order to reconstruct the image
; Join: read data from *.rcm file and reconstructs an image subdivided with image-slice script-fu.
; File *.rcm: is structured in rows
;                sample:
;                row 1 : "ATGrcm"
;                row 2 : imageWidth
;                row 3 : imageHeight
;                row 4 : number cols
;                row 5 : number rows
;                row 6 : filename portion 1,1
;                row 7 : filename portion 1,2
;                row 8 : filename portion 2,1
;                row 9 : filename portion 2,2
;                row 10: ........  
; -----------------------------------------------------------------------------
; License:
; 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 2 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
; 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, write to the Free Software
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
; -----------------------------------------------------------------------------
; Define the function:

(define (script-fu-image-slice inImage inLayer nRighe nColonne option dataDir)

    (let* (    (orFilename (car (gimp-image-get-filename inImage)))
                    (orWidth (car (gimp-image-width inImage)))
                    (orHeight (car (gimp-image-height inImage)))
                    (newW (/ orWidth nColonne))
                    (newH (/ orHeight nRighe))
                    (name-length 0)
                    (inizio 0)
                    (extension "")
                    (type 0)
                    (contaR 0)
                    (contaC 0)
                    (inXorig 0)
                    (inYorig 0)
                    (inWidth 0)
                    (inHeight 0)
                    (cnt 0)
                    (filename "")
                    (newimage 0)
                    (newlayer 0)
                    (activelayer 0)
                    (floating-sel 0)  
                    (colonna "")
                    (riga "")
                    (post "")
                    (joinsaveFile "")
                    (nf 0)
                    (rcmFile "")
                    (filenamex "")
                    (contador "")

    ;; salva il file origine se non è stato salvato
    ;; imposta il nome del file per il salvataggio dei dati
    ;; imposta il nome del file per il salvatggio dei vari pezzi

    (if (= (string-length orFilename) 0)
            (set! orFilename "image.xcf")
            (gimp-file-save 1 inImage inLayer orFilename orFilename)
            (set! rcmFile (string-append dataDir "\\" orFilename ".rcm"))
            (set! filename (string-append dataDir "\\" orFilename ))
        );end begin

            (set! rcmFile (string-append dataDir "\\" (solonomefile orFilename) ".rcm"))
            (set! filename (string-append dataDir "\\" (solonomefile orFilename) ))
        );end begin
    );end if

;;determina l'estensione del file origine
    (set! name-length (string-length orFilename))
    (set! inizio (- name-length 4))
    (set! extension (substring orFilename inizio name-length))

;;fine estensione file
;;leggo le dimensioni dell'immagine
    (set! inHeight (car (gimp-image-height inImage)))
    (set! inWidth (car (gimp-image-width inImage)))

;;apro il file per la scrittura delle informazioni di recupero
     (set! nf (open-output-file rcmFile))
     ;scrittura signature, dimensioni immagine numero di righe e colonne
     (write "ATGrcm" nf)
     (newline nf)
     (write inWidth nf)
     (newline nf)
     (write inHeight nf)
     (newline nf)
     ;(write inWidth nf)
     ;(newline nf)    
     (write nColonne nf)
     (newline nf)
     (write nRighe nf)

;;fine scrittura dati

;imposta l'estensione se il file deve essere salvato in un altro formato

    ( (= option 1)    (set! extension ".png"))
    ( (= option 2)    (set! extension ".jpg"))
    ( (= option 3)    (set! extension ".bmp"))
    ( (= option 4)    (set! extension ".tif"))
    ( (= option 5)    (set! extension ".xcf"))        

;determina il tipo di immagine (RGB, GRAY, INDEXED)
(set! type (car (gimp-image-base-type inImage)))
;;imposto il ciclo per la suddivisione dell'immagine
(set! contaR 1)
(set! contaC 1)
(set! inXorig 0)
(set! inYorig 0)
(set! inWidth newW)
(set! inHeight newH)
(set! cnt 1)

;;imposta percorso e nome file per il salvataggio ******-> Disattivo la linea seguente
;(set! filename (car (gimp-image-get-filename inImage)))
(while ( <= contaR nRighe)
    (set! inWidth newW)
    (set! inHeight newH)
    (while ( <= contaC nColonne)
;seleziona e copia una porzione dell'immagine
         (gimp-rect-select inImage inXorig inYorig inWidth inHeight REPLACE FALSE 0)
         (gimp-edit-copy inLayer)

;imposta la nuova immagine ed incolla la selezione
        (set! newimage (car (gimp-image-new inWidth inHeight type)))
        (set! newlayer (car (gimp-layer-new newimage  inWidth inHeight type "Sfondo" 0 NORMAL)))
   (gimp-image-add-layer newimage newlayer 0)
   (gimp-drawable-fill newlayer BG-IMAGE-FILL)(gimp-layer-add-alpha newlayer) (gimp-edit-clear newlayer)
        (set! activelayer (car (gimp-image-set-active-layer newimage newlayer)))
        (set! floating-sel (car (gimp-edit-paste newlayer FALSE)))
     (gimp-floating-sel-anchor floating-sel)

;;imposta ed assegna un nome al nuovo file (nomefile-riga-colonna)
      ;(set! filename (car (gimp-image-get-filename inImage)))
      (set! contador (number->string cnt))
      (set! cnt (+ cnt 1))
      ;(set! colonna (number->string contaC))
      ;(set! riga (number->string contaR))
      (set! post "")
      ;(set! post (string-append riga colonna contador))
      (set! post (string-append contador))
      (set! filename (filename-basename filename))

      (set! filenamex (string-append filename post extension))

      (gimp-image-set-filename newimage filenamex)      
      (gimp-file-save 1 newimage newlayer filenamex filenamex)

     ;salva il nome del file sul file *.rcm
     (newline nf)
     (write (solonomefile filenamex) nf)

    (set! inXorig (+ inXorig newW))  ;origine x rettanglo di selezione
    (set! contaC (+ contaC 1))

    );end while col
    (set! contaC 1)
    (set! inYorig (+ inYorig newH))
    (set! inXorig 0)
    (set! contaR (+ contaR 1))
);end while row

    (close-output-port nf)
 (gimp-selection-none inImage)

_"<Toolbox>/Xtns/ATG/Image slice"
"Slice the image in MxN Rows and Columns and save any rectangular portion in the new files."
"Arch. Giuseppe Conte"
"2009, Conte Giuseppe"
"20 marzo, 2009 - Ver. 1.0"
SF-IMAGE "The Image" 0
SF-DRAWABLE "The Layer" 0
SF-ADJUSTMENT "Rows   " '(3 0 99999999 1 10 0 1)
SF-ADJUSTMENT "Columns" '(3 0 99999999 1 10 0 1)
SF-OPTION "Save as" '("Default" ".png" ".jpg" ".bmp" ".tif" ".xcf")
SF-DIRNAME "Salva in " (string-append "" gimp-data-dir "/" )

;;Single tech games: this function cuts the extension from the filename, esta funcion corta la extension del nombre de archivo
(define (filename-basename filename)
(car (strbreakup filename ".")))

;;; Join Image

;;funzioni di servizio
;;; Estrae il solo percorso
;;; funziona

(define (solopath x)
    (let* ( (cnt 0)
                    (lung 0)
                    (fine 0)
    (set! lung (string-length x))
    (while (< cnt lung)
                (if (equal? (substring x cnt (+ cnt 1)) "\\") (set! fine cnt) )
                (set! cnt (+ cnt 1))
    ;(gimp-message (number->string fine))
    (substring x 0 (+ fine 1))


(define (solonomefile x)
    (let* ( (cnt 0)
                    (lung 0)
                    (fine 0)
    (set! lung (string-length x))
    (while (< cnt lung)
                (if (equal? (substring x cnt (+ cnt 1)) "\\") (set! fine cnt) )
                (set! cnt (+ cnt 1))
    ;(gimp-message (number->string fine))
    (substring x (+ fine 1) lung)


;;fine funzioni di servizio

(define (script-fu-image-join joinFile)
    (let* (    (signature "ATGrcm")
                    (imageHeight 0)
                    (imageWidth 0)
                    (nRows 0)
                    (nCols 0)
                    (tearFile "")
                    (openFile "")
                    (lettura "")
                    (imageID 0)
                    (newlayer 0)
                    (activelayer 0)
                    (cntRow 1)
                    (cntCol 1)
                    (tempFilename "")
                    (activePath "")
                    (rawFilename "")
                    (addlayer 0)
                    (startx 0)
                    (starty 0)
                    (layerWidth 0)
                    (layerHeight 0)

        ;(gimp-message joinFile)
        (set! activePath (solopath joinFile))
        ;(gimp-message activePath)
        (set! openFile (open-input-file joinFile ))
        (set! lettura (read openFile))
            (    (equal? signature lettura )
                (set! lettura (read openFile))
                (set! imageWidth lettura)
                (set! lettura (read openFile))
                (set! imageHeight lettura)
                (set! imageID (car (gimp-image-new imageWidth imageHeight 0)))
                (set! newlayer (car (gimp-layer-new imageID  imageWidth imageHeight 1 "Sfondo" 1 0)))
           (gimp-image-add-layer imageID newlayer 0)
                (set! activelayer (car (gimp-image-set-active-layer imageID newlayer)))
         (gimp-display-new imageID)
         ;apro le immagini una ad una, leggo le dimensioni le copio e le incollo
         ;leggo il numero di righe e di colonne
         (set! nCols (read openFile))
         (set! nRows (read openFile))
         (set! cntRow 0)
         (set! cntCol 0)
         (while (< cntRow nRows)
             (while (< cntCol nCols)
                 (set! tempFilename (read openFile))
                 (set! rawFilename (string-append activePath tempFilename))
                 ;apro l'immagine e l'aggiungo come layer
                 (set! addlayer (car (gimp-file-load-layer 1 imageID rawFilename)))
                 (gimp-image-add-layer imageID addlayer -1)
                 (gimp-layer-translate addlayer startx starty)
                 (set! layerHeight (car (gimp-drawable-height addlayer)))
                 (set! layerWidth (car (gimp-drawable-width addlayer)))
                 (set! startx (+ startx layerWidth))
                 (set! cntCol (+ cntCol 1))
             );end while colonne
             (set! startx 0)
             (set! starty (+ starty layerHeight))
             (set! cntRow (+ cntRow 1))
             (set! cntCol 0)
         );end while righe
         ;(gimp-display-new imageID)
            ); cond 1
            (    else (gimp-message "File errato")
            ); cond 2
        (close-input-port openFile)


 _"<Toolbox>/Xtns/ATG/Image join"
"It reconstructs an image subdivided with image-slice script-fu."
"Arch. Giuseppe Conte"
"2009, Conte Giuseppe"
"20 marzo, 2009 - Ver. 1.0"
SF-FILENAME "Apri file " (string-append "" gimp-data-dir "*.rcm" )


Print this item

Photo My First Work in Gimp
Posted by: Kal.El - 12-17-2017, 03:29 AM - Forum: Gallery - Replies (3)

Hello everyone,

I've been able to install and use everything on LINUX MINT , including gimp is unreachable and extremely good to work on, and Gimp is really very good ...

Have been crazy days, but finally I am very happy with my choice ..

This work is based on the music of George Harrison WAH-WAH

I did it because I'm finally using Gimp on Linux Mint and no longer need to use Win10 and not even Ps

Now, I don't need no wah-wah
And I know how sweet life can be
If I keep myself free of
I don't need no


Thank you for everyone who made video tutorials for gimp

Attached Files Image(s)
Print this item

Question Python-Fu · Get viewport position
Posted by: guiritter - 12-16-2017, 04:15 PM - Forum: Scripting questions - Replies (3)

Hi everyone.

I'm writing a plugin to automate some processes. I'm sticking to Python because I've had issues with C and Scheme.

Consider an image opened in GIMP with a zoom large enough to cause only part of the image to be seen. So, you can scroll the viewport around to see other parts of the image.

I want to know what code I have to use to know which pixels are visible, so I can add a layer to the image to a position where it will be visible in my current zoom setting.

I'm using GIMP 2.8.20 on Windows 7 Ultimate x64.

Thanks in advance.

Print this item

  Coordinate System in Inkscape
Posted by: Espermaschine - 12-16-2017, 09:40 AM - Forum: Other graphics software - Replies (3)

Quick question about Inkscape, the tiled clones dialogue and the coordinate system it uses.

Lets say i clone a square 10 Rows x 10 Columns, with a
Shift Y of 10% per Row and Shift X of 10% per Column.

I also want a stair effect per column of one square:
Shift Y per Column 100 + 10 for the gap compensation = 110%.

It works as expected, but when i look at the coordinate system, i get the impression something is wrong.


Negative displacements are to the left and to the bottom.


By that logic, i should have used:
Shift Y -10% per Row
Shift Y -110% per Column

But that gives me something entirely different...

Where is the mistake in my thinking ??
Or is my coordinate system the wrong way around ?


Print this item