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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,680
» Latest member: chrlesshulzeoz4225
» Forum threads: 7,207
» Forum posts: 39,355

Full Statistics

Latest Threads
A reasoning on what you c...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: vitforlinux
54 minutes ago
» Replies: 4
» Views: 307
Troubles with porting a s...
Forum: Scripting questions
Last Post: alvk
Yesterday, 10:44 PM
» Replies: 9
» Views: 264
Font manager not managing...
Forum: Other graphics software
Last Post: vitforlinux
Yesterday, 12:54 PM
» Replies: 18
» Views: 5,520
Getting emotional with my...
Forum: Gallery
Last Post: Ofnuts
Yesterday, 12:02 PM
» Replies: 4
» Views: 228
printing issue, please he...
Forum: General questions
Last Post: bringoutthegimp!
03-04-2025, 08:00 PM
» Replies: 11
» Views: 430
GEGL Operation dialog whe...
Forum: General questions
Last Post: rich2005
03-04-2025, 07:56 PM
» Replies: 1
» Views: 106
Resize used RIS.
Forum: Extending the GIMP
Last Post: zvezdochiot
03-04-2025, 05:32 PM
» Replies: 10
» Views: 1,616
Unable to find or use scr...
Forum: Extending the GIMP
Last Post: Ofnuts
03-04-2025, 03:53 PM
» Replies: 3
» Views: 160
How do you increase an im...
Forum: General questions
Last Post: rich2005
03-04-2025, 11:34 AM
» Replies: 6
» Views: 1,848
Hi res question
Forum: General questions
Last Post: zvezdochiot
03-03-2025, 11:47 PM
» Replies: 9
» Views: 1,993

 
  Drawing a simple rectangle layer?
Posted by: oguruma - 04-09-2022, 08:46 PM - Forum: General questions - Replies (6)

I'm learning the basics of using GIMP. I'm making a simple "color palette" for a design project.

I want to draw several rectangles, each as their own layer, and have that entire layer be the size of the rectangle. 

When I click "New Layer" and draw the selection, I can color the selection, but the layer still has the size of the background layer (instead of the small rectangle, like I want).

I can manually resize the layer, but I'd assume there's a better way size the entire layer to the rectangle I want.

How do you do this?

Print this item

  An "Alpha" layer blending mode - need help with building
Posted by: Ismir Egal - 04-09-2022, 05:57 PM - Forum: Extending the GIMP - Replies (7)

Hello guys,

Similar to "HSV Hue", "HSV Saturation" and "HSV Value" i want to implement an "Alpha" layer blending mode which replaces the target alpha channel with the one of the input layer.
I'm not big into programming so luckily i can just use one of the aforementioned ones as a base.
The color space transformations aren't required and we don't need to do any math so the code should just be:

operations/layer-modes/gimpoperationlayermode-blend.c (line 538):

Code:
void
gimp_operation_layer_mode_blend_alpha (const gfloat *in,
                                      const gfloat *layer,
                                      gfloat       *comp,
                                      gint          samples)
{
 while (samples--)
   {
     comp[RED]   = layer[RED];
     comp[GREEN] = layer[GREEN]
     comp[BLUE]  = layer[BLUE];
     comp[ALPHA] = in[ALPHA];

     comp  += 4;
     layer += 4;
     in    += 4;
   }
}
operations/layer-modes/gimpoperationlayermode-blend.h (line 85)
Code:
void gimp_operation_layer_mode_blend_hsv_value         (const gfloat *in,
                                                       const gfloat *layer,
                                                       gfloat       *comp,
                                                       gint          samples);

operations/layer-modes/gimp-layer-modes(line 584)
Code:
 { GIMP_LAYER_MODE_ALPHA,

   .op_name              = "gimp:layer-mode",
   .blend_function       = gimp_operation_layer_mode_blend_alpha,
   .flags                = GIMP_LAYER_MODE_FLAG_BLEND_SPACE_IMMUTABLE,
   .context              = GIMP_LAYER_MODE_CONTEXT_ALL,
   .paint_composite_mode = GIMP_LAYER_COMPOSITE_UNION,
   .composite_mode       = GIMP_LAYER_COMPOSITE_CLIP_TO_BACKDROP,
   .composite_space      = GIMP_LAYER_COLOR_SPACE_RGB_LINEAR,
   .blend_space          = GIMP_LAYER_COLOR_SPACE_RGB_PERCEPTUAL
 },


However, i can't get Gimp to build. Not that it fails; it's that the problem sits in front of the desk.
The tools don't link up and the libraries don't seem to work. I've already spent way more time into setting this up then coming up with the code seen above.
Personally i don't think it's worth putting more time into trying to make the building work so
Could somebody implement these changes and upload a Windows build? (if it even works that way)

Setting this up as a plug-in would obviously be the better way but i have no idea how to do this, especially since i can't just copy and modify existing functions.

Please let me know if you can help or know a better solution

Print this item

  darken text issue
Posted by: denzjos - 04-09-2022, 09:27 AM - Forum: Tutorials and tips - Replies (2)

I wanted to darken a small text to make it more readable and discovered following issue. I typed a text and duplicated the layer a few times and the text becomes darker (this is normal). To move the darkened text I merged the text layers and the result was a normal layer with darkened text that can't be edited afterwards. The trick to edit the text afterwards is to save the drawing with the duplicated layers not merged, then load the drawing again and merge the text layers. The result is a normal layer (can't be edited). Now save the drawing and load it again. The 'normal' layer with the text is now converted to a editable text layer. When one edit the text, then the text darkness becomes as the original darkness. If the text duplicated layers are not edited, they stay darker.

Print this item

  Removing shadows?
Posted by: sayluv - 04-09-2022, 03:47 AM - Forum: General questions - Replies (3)

Hi-

I've been using Gimp for years but I'm a total novice. Is the dodge/burn tool the best way to remove shadows? At first I used a mask and tried messing with the exposure. That may work but my borders were not organic enough. The dodge tool seems to be working ok but having small issues. I did the front far leg and I am working on the rear far leg. I am running across an issue when I use the tool on certain areas of the leg a dark blue/green tint appears on the area. Any help would be appreciated. Thx!!



Attached Files Thumbnail(s)
   
Print this item

  Beautify plugin ART > Life Sketch causes error in (Windows 10 / GIMP 2.10.30)
Posted by: agzol - 04-08-2022, 09:18 AM - Forum: Extending the GIMP - Replies (3)

Beautify plugin ART > Life Sketch causes error in (Windows 10 / GIMP 2.10.30) libgtk-win32-2.0-0.dll

In fact any Beautify effect fails the same way.

[url=https://gitlab.gnome.org/GNOME/gimp/-/issues/8060#environmentversions][/url]Environment/Versions

  • GIMP version: 2.10.30
  • Package: installer from gimp.org
  • Operating System: Windows 10 21H2 (19044.1586)  64 bit
Have used this plugin in the past without any issues.
Noticed the error in GIMP 2.10.28 so updated to 2.10.30 but same error.
The preview pane in Beautify appears alright, but when I OK the effect I get the error message.  

Plug-in crashed: "beautify.exe"
(C:\Users\desktop\.gimp-2.10\plug-ins\beautify.exe)

Windows event log :-
Faulting application name: beautify.exe, version: 0.0.0.0, time stamp: 0x52d2a3bf
Faulting module name: libgtk-win32-2.0-0.dll, version: 2.24.32.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000277d6b
Faulting process ID: 0x2bec
Faulting application start time: 0x01d84b28b69b3989
Faulting application path: C:\Users\desktop\.gimp-2.10\plug-ins\beautify.exe
Faulting module path: C:\Program Files\GIMP 2\bin\libgtk-win32-2.0-0.dll
Report ID: 858763fa-9c28-4bbe-8d4a-49da564c00c8
Faulting package full name: 
Faulting package-relative application ID: 

same issue with libgtk-win32-2.0-0.dll, version: 2.24.33.0

HELP pls  Huh

Print this item

  Text in Gimp
Posted by: Lori257 - 04-07-2022, 11:09 PM - Forum: General questions - Replies (5)

Hello,does anyone know how to make this one in Gimp? I know,maybe it was made in Photoshop,but i really need to make it in Gimp.[Image: Snimok2.jpg?extra=7x3tNhMtKhy43xbv69axAm...t5aimOJvwN]

Print this item

  Problems with circle-slash on paint bucket and rectangles ***Resolved
Posted by: gimphusker - 04-06-2022, 10:38 PM - Forum: General questions - Replies (2)

Hi, I am having problems with the circle-slash problem with rectangles and paint bucket.  BTW, Windows 10 Pro, Gimp 2.10.30

I want to make glossy buttons for my visual basic project and found a youtube video:https://www.youtube.com/watch?v=Ecs0yk4Vasw.  I have used the instructions on the video to make several buttons, but now am encountering the dreaded circle-slash error. Here is what I do: Create a new file: File=>New and set the size to 360X240. Like in the video, I use the paint bucket to make the canvas white. So far so good.  Then when I try to make a rectangle (which I have done many times in the past), I get the circle-slash.  Based on the help on the internet, I click on Select=>All and I am able to create the rectangle.  I set the size to 240X120 with a rounded radius of 21.  Then I click on Select=>Save to Channel like in the video.  Then I create a new layer as per video.  Unlike the video, I want to fill the rectangle with red.  When I click on paint fill,  I get the circle-slash error again.  When I click the select=>all, my rectangle disappears.  I have no idea what has changed between when I was able to do this before and now am fighting it.  I really like Gimp but the problem I have with it is that I can accidently click something with my mouse and blow things up. As information, I have researched this problem on the internet and have tried what I have read to correct it: making sure there are no locks on my layers, making sure that select=> all is selected and so on and so forth.  I am not having any luck.  Please help me.  (Let me know if I need to send pictures of my settings.)  Thank you

Print this item

Question Huge difference when converting sRGB to CYMK with Separate+ Plug-In
Posted by: Luax - 04-06-2022, 04:42 PM - Forum: Extending the GIMP - Replies (4)

Hello community,

today I tried to export a GIMP image created in the standard sRGB color profile to a CMYK color profile by using the separate plug-in. This is required by the printing house to avoid color deviations between the design and the final print. Unfortunately, when converting it with the separate plug-in, a massive color difference can be seen. Maybe you can tell me what I am doing wrong?

    sRGB
    CMYK
    separate settings

Looking forward for your assistance!

Software used:
GIMP 2.10.30
Separate+ for GIMP 2.10.6


Yours,
Luax

Print this item

  Resize selection made by Ctrl+A
Posted by: kiwichick - 04-06-2022, 01:06 AM - Forum: General questions - Replies (7)

Sorry if this seems a silly question but can someone please explain why, when in rectangle select mode, it isn't possible to use Ctrl+A to select all and then resize the selection from that? No transformation handles are available. Is there a reason for this?

Print this item

  Checkerboard.. why?
Posted by: RustyBolt - 04-05-2022, 01:45 PM - Forum: General questions - Replies (8)

I loaded an RGB image which I added an Alpha channel to and then decomposed it. I pasted another image into the alpha channel and then did a compose into an RGBA image. At this point the image it shows me on the screen now has a checkerboard pattern on it even though none of the channels had any transparent areas. I saved the image as a png. If I open it with a different program it appears normal. If I open it with Gimp, it as the checkerboard pattern on it.

I am new to Gimp, so I would lke to know what this is indicating and how to remove it?

Print this item