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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,956
» Latest member: Eternal Moon
» Forum threads: 7,712
» Forum posts: 41,937

Full Statistics

Latest Threads
How to make contours in G...
Forum: General questions
Last Post: Ofnuts
1 hour ago
» Replies: 1
» Views: 29
Has anyone tried getting ...
Forum: Extending the GIMP
Last Post: vitforlinux
Yesterday, 04:32 PM
» Replies: 2
» Views: 225
What exactly tutorials ar...
Forum: General questions
Last Post: sallyanne
Yesterday, 06:44 AM
» Replies: 6
» Views: 603
Gimp 3.0.6 Python plug-in...
Forum: Scripting questions
Last Post: Scallact
11-21-2025, 09:15 PM
» Replies: 8
» Views: 366
Beginner question on Laye...
Forum: General questions
Last Post: sallyanne
11-21-2025, 01:42 AM
» Replies: 2
» Views: 282
Gimp 3 path tool auto con...
Forum: General questions
Last Post: Scallact
11-20-2025, 09:26 PM
» Replies: 3
» Views: 269
How to transform a layer ...
Forum: General questions
Last Post: Scallact
11-20-2025, 09:10 PM
» Replies: 9
» Views: 491
Issue with Gradient Flare...
Forum: General questions
Last Post: ldd2
11-19-2025, 10:24 PM
» Replies: 5
» Views: 412
Wall Of Fractal Featuring...
Forum: Gallery
Last Post: Tas_mania
11-19-2025, 08:43 PM
» Replies: 0
» Views: 173
Text Editor hardly ever w...
Forum: General questions
Last Post: sallyanne
11-19-2025, 01:29 PM
» Replies: 6
» Views: 630

 
  clothify makes extremely large png files!
Posted by: roncking@gmail.com - 05-15-2023, 12:34 PM - Forum: General questions - Replies (6)

Hi All, I'm using gimp 2.10 on a windows 10 box. When I clothify a 12mb png file, the exported png file is 378mb!
Why does this happen?

Print this item

  Making the Export more user friendly
Posted by: GIMPimp - 05-14-2023, 10:56 AM - Forum: General questions - Replies (3)

If I am not mistaken, when using the Export feature it is currently impossible to:

A] make the option Show All Files always be selected

B] make the Select File Type option always be selected thus unfolded - and hence revealing all possible file formats without a need for clicking to see their list

C] make it remember the last manually chosen file format so that it would not have to be re-selected when repeating Export tasks

D] choose a default file format that would be applied to the first Export job every time when GIMP is [re]opened

E] increase vertical size of that shown sub-window holding the list of file formats

F] increase horizontal size of Places and Preview sub-windows areas

?

If yes - then I would like to suggest making according changes to GIMP for implementation of the above options

Print this item

  Gimp opening offscreen
Posted by: traveler12 - 05-13-2023, 03:18 AM - Forum: General questions - Replies (1)

Splash screen is popping up on the main display (of two), but the program and any images opened are all offscreen. No way to get it back. Gimp was working fine last time I used it, but now it’s playing hide and seek. Tried the Cascade, Stacked, and Side-by-side Windows options, and Gimp is not recognized as an open window. Any easy way to fix this?

Print this item

  KeePassXC custom Auto-Type sequence for login in
Posted by: GIMPimp - 05-12-2023, 10:29 PM - Forum: Gimp-Forum.net - Replies (4)

What is a working sequence allowing for automatic login in to this forum when using Auto-Type in KeePassXC?

Print this item

  Problems with Foreground Select Tool
Posted by: Patrick12345 - 05-12-2023, 08:21 PM - Forum: General questions - Replies (2)

Hello everyone,

Unfortunately, the cropping with the foreground tool doesn't work for mer.
After I select and paint the object, the preview appears correctly.
Unfortunately, when I press Enter, the object is not marked, but vertical lines are displayed. I attach a photo.

Does anyone know the problem and especially a possible solution.

Thanks for your help!

Patrick



Attached Files Thumbnail(s)
   
Print this item

  convexe polygon around a shape
Posted by: jacques_duflos - 05-12-2023, 08:19 PM - Forum: Extending the GIMP - Replies (5)

Hi all,
I need to get the convex form that strictly contains a text, as shown on the next image.
   
I am writing a script to do so, but maybe it already exists ? has someone heard of such tool for gimp ?

Print this item

  Merge active layer with several other layers
Posted by: Khalaris - 05-11-2023, 10:07 PM - Forum: Extending the GIMP - Replies (6)

I use GIMP to create GIFs and wanted to add subtitles to all those animation layers. Since I couldn't find another way to do that, I just wrote a little script:

   

This merges the active layer with however many of the next layers are specified, or all of them if set to 0.

The script can be downloaded here https://github.com/AdrianSingfield/gimp-py-scripts
Any comments are appreciated :)

Print this item

  Not coming out like step by step
Posted by: quilla333 - 05-11-2023, 09:23 PM - Forum: General questions - Replies (8)

Ok Guys I am new to gimp. I am trying to fallow a tutorial to make gold lettering from YTube and everything comes out just like the tutorial says. the problem comes when the guy tells me to do a new project in the same one I am following and it does not connect to my layers that I am doing and I get stuck so I can't finish the lettering and It get's very frustrating. can someone help me with this? Thanks

Print this item

  scripts for comics trip
Posted by: jacques_duflos - 05-11-2023, 08:11 PM - Forum: Extending the GIMP - Replies (5)

Hi there,
I do comics trip as a hobby. Here are some of my works. I use gimp for text, editing, sometimes coloring or texturing. I will show in this thread the scripts I did to ease some tasks. Comments and advice are welcome

This first script is made to prepare a scanned drawing. automatize de-saturating, changing contrast and light, and separate the ink from the background, so I can add a color layer in between and paint.

Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# GIMP plugin to separe the ink form the paper of a b&w scan
# (c) Jacques Duflos 2023
#
#   History:
#
#   v0.0: 2023-xx-xx: First published version

#   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
#   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, write to the Free Software
#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

import sys, os
from gimpfu import *
import gimpcolor
#print "**********preparer un scan***************"
debug= False

def trace(s):
   if debug:
       print "****"
       print s
       print "****"
       



def preparerUnScan(image):
    image.undo_group_start()
    trace("1")
    # récupérer l'image et le calque selectionné
    layer = pdb.gimp_image_get_active_layer(image)
    layer_name = pdb.gimp_item_get_name(layer)
    trace("2  "+ layer_name)
    #désaturer, pousser le contraste très haut et augmenter un peu la luminosité.
    # voir pour en faire des paramètres éventuellement.
    pdb.gimp_drawable_desaturate(layer, 0)
    trace("3")
    pdb.gimp_drawable_brightness_contrast(layer, -0.2, 0.8)
    #enregistrer les variables de contexte avant de les modifier
    opacity_old = pdb.gimp_context_get_opacity()
    foreground_old = pdb.gimp_context_get_foreground()
    paint_mode_old = pdb.gimp_context_get_paint_mode()
    #print foreground_old
    pdb.gimp_context_set_opacity(100)
    pdb.gimp_context_set_foreground(gimpcolor.RGB(1.0, 1.0, 1.0, 1.0))
    pdb.gimp_context_set_paint_mode(LAYER_MODE_COLOR_ERASE)
    
    
    #effacer l'arrière plan blanc
    pdb.gimp_layer_add_alpha(layer)
    pdb.gimp_drawable_edit_fill(layer, FILL_FOREGROUND)
    trace("fond effacé")
    
    #créer le fond blanc
    fond = pdb.gimp_layer_new(image, pdb.gimp_image_width(image), pdb.gimp_image_height(image), RGB_IMAGE , "fond", 100, LAYER_MODE_NORMAL)
    num_layers, layer_ids = pdb.gimp_image_get_layers(image)
    pdb.gimp_image_add_layer(image, fond, num_layers)
    pdb.gimp_context_set_paint_mode(LAYER_MODE_NORMAL )
    pdb.gimp_drawable_edit_fill(fond, FILL_FOREGROUND)
    
    #rétablir les variables
    pdb.gimp_context_set_opacity(opacity_old)
    pdb.gimp_context_set_foreground(foreground_old)
    pdb.gimp_context_set_paint_mode(paint_mode_old)
    trace("contexte rétabli")
    
    image.undo_group_end()
    

### Registrations
whoiam='\n'+os.path.abspath(sys.argv[0])

register(
   'preparer-un-scan',
   'Prépare un scan %s' % whoiam,
   'prépare un scan',
   'Jacques Duflos','Jacques Duflos','2023',
   'Prépare un scan...',
   '*',
   [
       (PF_IMAGE,  'image',            'Image', None)
   ],
   [],
   preparerUnScan,
   menu='<Image>/Layer'
)

main()


This second script is made to move all the text layers in a layer group named texts.

Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# GIMP plugin to move every text layer in a text layer group
# (c) Jacques Duflos 2023
#
#   History:
#
#   v0.0: 2023-xx-xx: First published version

#   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
#   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, write to the Free Software
#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

import sys, os
from gimpfu import *
import gimpcolor
print "**********calques texte dans groupe***************"
debug= True

def trace(s):
   if debug:
       print "**** "
       print s
       print "**** "
       
def calquesTextesDansGroupe(image):
    image.undo_group_start()
    trace("1")
    groupe_textes = pdb.gimp_layer_group_new(image)
    pdb.gimp_item_set_name(groupe_textes, "textes")
    pdb.gimp_image_insert_layer(image, groupe_textes, None, 0)
    calques=[]
    for numero_calque in range(pdb.gimp_image_get_layers(image)[0]):
        calques.append(image.layers[numero_calque])
    
    trace(calques)
    for calque in calques :
        if pdb.gimp_item_is_text_layer(calque):
            pdb.gimp_image_reorder_item(image, calque, groupe_textes, 0)
    
    image.undo_group_end()
    

### Registrations
whoiam='\n'+os.path.abspath(sys.argv[0])

register(
   'textes-dans-groupe',
   'Mettre les calques textes dans un groupe %s' % whoiam,
   'Mettre les calques textes dans un groupe',
   'Jacques Duflos','Jacques Duflos','2023',
   'Mettre les calques textes dans un groupe...',
   '*',
   [
       (PF_IMAGE,  'image',            'Image', None)
   ],
   [],
   calquesTextesDansGroupe,
   menu='<Image>/Layer'
)

main()

Im presently working on a script that makes a text bubble around a text layer.
enjoy !

Print this item

Photo Increase background walls darker
Posted by: integrator - 05-11-2023, 06:01 PM - Forum: General questions - Replies (1)

Hello,

I have a .png of a floor plan which I need to darken the walls etc. I've tried couple things without luck so I'm looking for sugesstions. The picture is attached.

Thanks for any support on this.



Attached Files Thumbnail(s)
   
Print this item