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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,913
» Latest member: meric57
» Forum threads: 7,682
» Forum posts: 41,788

Full Statistics

Latest Threads
RapidRAW
Forum: Other graphics software
Last Post: denzjos
19 minutes ago
» Replies: 2
» Views: 105
Isolate, select and copy/...
Forum: General questions
Last Post: Ofnuts
3 hours ago
» Replies: 3
» Views: 137
AIMAGoR - Artificial IMAg...
Forum: Other graphics software
Last Post: rich2005
Yesterday, 06:57 PM
» Replies: 22
» Views: 9,511
Accessing GIMP’s internal...
Forum: General questions
Last Post: rich2005
Yesterday, 12:35 PM
» Replies: 1
» Views: 118
Can't find path plug-in
Forum: General questions
Last Post: programmer_ceds
11-01-2025, 04:47 PM
» Replies: 7
» Views: 378
Gimp shows blank black sc...
Forum: Windows
Last Post: rich2005
11-01-2025, 09:01 AM
» Replies: 1
» Views: 133
Outlined and filled in 3....
Forum: General questions
Last Post: rich2005
10-31-2025, 04:42 PM
» Replies: 2
» Views: 209
Upgrade 3.0.6
Forum: Windows
Last Post: J-C R 45
10-31-2025, 03:07 AM
» Replies: 4
» Views: 380
Astrophotography - Creati...
Forum: Tutorials and tips
Last Post: Zero01
10-30-2025, 07:24 PM
» Replies: 5
» Views: 572
"Plug-in crashed" on GIMP...
Forum: General questions
Last Post: rich2005
10-29-2025, 09:26 AM
» Replies: 1
» Views: 254

 
  Creating an "opposite" image
Posted by: Cjrearl84 - 03-24-2022, 10:40 PM - Forum: General questions - Replies (30)

Hey,

I was wondering if anyone could help,

I've been drawing up some clipart style images with black outlines, and am looking to create the "opposite" version of the image.

Attached image bandana 1 is a good example of the type of image I've drawn up.  I want then to be able to create image bandana 2, which is a black fill of the "empty" areas of the original drawing.  Note this isn't my work, but an example of what I want to achieve!

I've tried the obvious solution on my own work, which is to create a new layer, fill with black and then use the Fuzzy Select or Select By Color tools to highlight the original black outline on my image, and then delete from the black layer to get the black "opposite" image, but it creates very rough and pixelated edge.

Sorry if my wording is confusing - hope the question makes sense!

Thanks,

Chris



Attached Files Thumbnail(s)
       
Print this item

  Export to .ico not working correctly
Posted by: PapaBear1 - 03-24-2022, 02:45 PM - Forum: General questions - Replies (20)

Hi,

I have a 32x32 image that I'm trying to export as an .ico file, but the result doesn't look like the preview during the export process.
Why would that be?
I have merged several layers into one layer, and I'm simply choosing that single, merged layer to export. (Not even trying to do the multi-size thing.)
The resulting file looks like a different layer that I didn't even specify during export. ???

Very confused.
thanks for any help.

Print this item

Smile desperately need help!
Posted by: kelloggs - 03-24-2022, 12:05 PM - Forum: General questions - Replies (4)

hello everyone, I'm a newb at gimp and
have no clue what I'm doing!
I’ve been trying to crop a picture I have of my little ones feet and handprints to
make a collage round a poem in libre office.
I managed to crop the handprints without changing their size, and set alpha then exported to PNG which took me an age to figure out! but when I open the image it has a big white background the size of A4.
I’ve tried cropping to selection/content but then this changes my handprint size. I’m new to all this and would love some advice on what I’m doing wrong!

Print this item

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