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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,582
» Latest member: Lindabax
» Forum threads: 7,456
» Forum posts: 40,742

Full Statistics

Latest Threads
GIMP 3.04 opens with wind...
Forum: Windows
Last Post: SteveH
4 hours ago
» Replies: 3
» Views: 159
Bug: gimp-drawable-get-pi...
Forum: Scripting questions
Last Post: Ofnuts
5 hours ago
» Replies: 1
» Views: 83
Cannot Install BIMP to GI...
Forum: Extending the GIMP
Last Post: Ofnuts
6 hours ago
» Replies: 1
» Views: 48
Missing fonts when export...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: chblondel
8 hours ago
» Replies: 9
» Views: 492
Gimp 3.0.4 - Windows 10 -...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
11 hours ago
» Replies: 1
» Views: 86
Macroglossum stellatarum
Forum: Watercooler
Last Post: denzjos
Yesterday, 09:47 AM
» Replies: 2
» Views: 119
Missing script-fu "refres...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Frenchie
Yesterday, 08:38 AM
» Replies: 11
» Views: 378
processes in Whitelist
Forum: OSX
Last Post: rich2005
07-02-2025, 09:45 AM
» Replies: 5
» Views: 208
Digikam: photo management...
Forum: Other graphics software
Last Post: denzjos
07-02-2025, 06:53 AM
» Replies: 7
» Views: 4,608
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: rich2005
07-01-2025, 12:12 PM
» Replies: 10
» Views: 3,136

 
Video why???
Posted by: alexander blanch - 03-24-2022, 08:05 AM - Forum: General questions - Replies (1)

我选择了部分图像,但按“删除”,整个图像的内容被删除。
为什么?

Print this item

  Default quality keeps changing on Export Image as JPEG window
Posted by: imagemicx - 03-24-2022, 05:22 AM - Forum: General questions - Replies (18)

Hi,

I have my default quality saved as 80% on Export Image as JPEG window. But whenever I open some images to make edits and then export, the slider on Quality option always appears at a different value, like 90%, 93%, 100% etc. It doesn't keep my saved default value selected. Every time, I have to click Load Defaults button.

[Image: gimp.jpg]

Any ideas how to fix this? I'm on GIMP 2.8.20, if it makes any difference. Thanks!

Print this item

  Rename layers (visible or linked)
Posted by: Krikor - 03-23-2022, 06:24 PM - Forum: General questions - Replies (15)

Is there any way to rename the layers in gimp? Preferably if there was some way to rename only visible and/or linked layers.

I know there is the plugin under Filters-Animation-Rename Layers....

But this filter is for animation, and only renames the name of the Prefix, determines the Delay and allows whether or not to include "Replace" in the layer name.

I'd like to be able to rename the layers indexed by adding a prefix of my choice (not just 'Frame').

Something like the Export All Layers plugin (ofn-export-layers), but without having to export the layers (Renaming them directly while editing).

Thx!

Print this item

  Hotkey for Transparency Background
Posted by: Ahso - 03-23-2022, 04:09 PM - Forum: Installation and usage - Replies (6)

Sick of changing the appearance of the transparency always by opening Edit > Preferences > Interface > Transparency.

As I'm often changing appearance of the transparency by using the background mid-tone checks, black, gray or white,
I'm looking for a hotkey to open this setting option faster than walking through the preferences menus.

Thank you

Print this item

  printing incompatibilities
Posted by: kevin.beckstead - 03-23-2022, 03:53 AM - Forum: General questions - Replies (2)

I have a HP laptop running Windows 11 and using GIMP 2.10. 
I was able to print photos to my old printer.
I am unable to print photos on my new photo printer CANON imagePROGRAF PRO-300.
Other photo software can print to my PRO-300 just not GIMP 2.10. 
Any suggestions for getting GIMP 2.10 to print to my new printer? 
Thanks.

Print this item

  Crop tool allow growing
Posted by: kiwichick - 03-23-2022, 12:07 AM - Forum: General questions - Replies (3)

Hi everyone, excuse the newbie question and apologies if it's been asked before. Can someone please explain to me how the fill option works with crop allow growing? I thought it was going to be a kind of alternative way to resize a canvas but I'm sure I'm misunderstanding something. This is what I'm doing:

1. open an image
2. activate the crop tool
3. check allow growing
4. choose a fill for the extra canvas
5. make a selection that goes outside the image boundary
6. press enter

But, no matter what fill I choose, the extra canvas is always transparent. The GIMP docs aren't really any help but they do say "Transparency will be used if there is no material to crop". If that's the case then what is the fill for? I assumed "no material to crop" was the extra canvas and that's what gets filled.

Print this item

Question Need help with small edit to a plug-in
Posted by: Fizzgig - 03-22-2022, 09:18 PM - Forum: Extending the GIMP - Replies (3)

Hello! I do a lot of image work for my job and my little team really appreciates all the time and effort you all put into these plug-ins. Countless hours have been saved thanks to the work you all share and upload.
I was hoping I could find someone who could help write a small QOL edit a plug-in.

The plug-in is the Center Resize All Layers to Image Size created by Tin Tran over on http://gimplearn.net.

Would it be possible to have the code loop until it's Centered/Resized all layers and then delete the "Background" layer?


First I need to say: None of my team, myself included, is very good with GIMP. I'd still classify us all as novice, even after years. Some of them can barely understand what a "brush" or "layer" is and just follow a very basic step-by-step-with-pictures guide to get their basic edits done. I swear they're smart. Just... not with image work/programs.
We work with hundreds of images at a time. For the scaling/size, we typically open a new canvas with our desired size/dimensions, upload a ton of different sized images as layers, use that plug-in to center and resize all of the images to the canvas size, and then use another plug-in to export all layers as individual images. We export to a lot of different folders. Unfortunately, this means they also export the white Background layer to every folder as well. They will then go to every individual folder (sometimes a couple hundred) and delete the white background image.

It would be so much less of a headache to just have that layer deleted automatically before exporting.

Code:
#!/usr/bin/env python

# center_resize_all_layers_to_image_size.py
# Created by Tin Tran http://gimplearn.net
# License: GPLv3
# 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.
#
# To view a copy of the GNU General Public License
# visit: http://www.gnu.org/licenses/gpl.html
#
#
# ------------
#| Change Log |
# ------------
# Rel 1: Initial release.
#import string
#import Image
import random
from gimpfu import *
import math
#from array import array
#import sys
    
def python_tt_center_resize_all_layers_to_image_size(image, layer):
    #convert to index mode
    # pdb.gimp_image_convert_indexed(image,CONVERT_DITHER_NONE,CONVERT_PALETTE_GENERATE,colors,FALSE,TRUE,'ignored')
    # num_bytes,colormap = pdb.gimp_image_get_colormap(image);
    # num_bytes_per_color = len(colormap)/colors
    # pdb.gimp_image_convert_rgb(image) #convert it back to RGB
    non_empty,x1,y1,x2,y2 = pdb.gimp_selection_bounds(image)
    if (non_empty == TRUE):
        width = x2-x1
        height = y2-y1
        for l in image.layers:
            pdb.gimp_layer_scale(l,width,height,TRUE)
            pdb.gimp_layer_set_offsets(l,x1,y1)
    else:    
        for l in image.layers:
            pdb.gimp_layer_scale(l,image.width,image.height,TRUE)
            pdb.gimp_layer_set_offsets(l,0,0)

register(
    "python_fu_tt_center_resize_all_layers_to_image_size",                          
    "Center Resize All Layers To Image Size",
    "Center Resize All Layers To Image Size",
    "Tin Tran",
    "Tin Tran",
    "August 2020",
    "<Image>/Python-Fu/Center Resize All Layers To Image Size",             #Menu path
    "RGB*, GRAY*",
    [
    # (PF_SPINNER, "width", "Width:", 2000, (10, 3000, 10)),
    # (PF_SPINNER, "height", "Height:", 2500, (10, 3000, 10)),
    ],
    [],
    python_tt_center_resize_all_layers_to_image_size)

main()

Print this item

  Advanced Undo History
Posted by: AshColors - 03-21-2022, 09:00 PM - Forum: Watercooler - Replies (2)

What if there was Undo History specific to each layer in addition to the standard global undo. Does anyone know if this exists already? Currently for pretty much every program in the world "CTRL + Z" is the hotkey for "undo last modification/action", but what if GIMP, or some 3rd party developer, made it possible for each layer in GIMP to log its own independent history? I am far from a programmer, but is it feasible to make an addition to GIMP that allows users to click on a layer and only undo the history of changes made to the specified layer?
Keep global undo "CTRL + Z", but add in a modifier for layer specific undo like a "CTRL + ALT + Z"

Would be pretty dope. 

Example: I'm sure you get it already, but every so often I will have made changes to a layer, moved onto another layer, then wanted to undo some changes I applied to the previous layer, but Undo isn't layer specific, it can only go backwards chronologically, so I'll have to erase the work I want to keep on the layer I have been working on in order to undo the work I've done on a previous layer. 

*of course in this case, in reality, I will not use Undo, I will delete the layer I want to reset so I can keep the work I did after making changes to this previous layer. But, also that sucks. would love something like an Advanced Undo.

Print this item

  Apply Text to Multiple Layers, and then Export With each Layer as Individual PNG
Posted by: Silverfish - 03-21-2022, 06:23 PM - Forum: General questions - Replies (2)

I'm new here.

Thanks for the warm community.

I know about the "Export Layers As..." plug in. It has saved me many countless hours.

However I'm wondering about something else in that arena.

I have a folder with 48 PNG images, all the exact same image, each with a different color variation:

Image 1

I have opened each of these files as its own layer. I would like to type the same text ON ALL OF THEM:

Image 2

I then want to export each one as a PNG with that text on it.

Is this possible? I'm kind of a newbie here...any way that this can be done or any advice would be helpful. Thanks so much!

Print this item

Brick Predatory Software?
Posted by: rickk - 03-21-2022, 06:08 PM - Forum: Other graphics software - Replies (5)

Over the past several months, I've grown amused over how updates for one program can adversely impact  another.

Especially in context with internet browsers Firefox, Chromium, and Konqueror.   Won't go into specifics there because I appreciate this is not the place for "that", other than to say I've been watching a ping pong game where updates to "A" introduce problems to "B", breaking specific functionality...which inspires a fix, that in turn the fix to "B" wreaks havoc upon "A", and the cycle repeats.

I guess that "independence" of the open source model has it's own unfortunate consequences?

Specific to graphics software. I've been installing on separate machines,  various vintages of Krita, versions 4.4.2.   4.4.8,   and 5.0.2 without major difficulty ( other than the Gmic issue with 5.0.2)

When installing those,... I always notice a transaction listing claiming to remove an inkscape file.   evidently it replaces said file with an updated equivalent, because my old inkscape app continues to function.

However just this past weekend, I noticed that an update for inkscape was being offered. I believe the update was from my  original install of version 1.0.2-3 to a new offering of 1.1.2-3+b1

So, I updated Inkscape, and thereafter the synaptic package manager refused to install Krita (any vintage) on my machine, citing that I must fix broken packages, before proceeding.

So, clearly the inkscape update fluxxored my system in some way to prohibit the install of Krita (on new media that had never previously had Krita as a resident program)

And attempts to fix broken packages were stonewalled. I eventually ended up having to reformat, and do a completely fresh install, forgoing the update to inkscape in order to install Krita 4.4.2   Which worked fine

But my questions, is this type of  conflict between programs common place?   Is this the reason many of you have become advocates of "flat paks" and "AppImages"....to put an end to such hijinks?  I think I'm about to become a believer

Print this item