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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,510
» Latest member: an419
» Forum threads: 7,129
» Forum posts: 38,986

Full Statistics

Latest Threads
Anyone use GIMP with the ...
Forum: General questions
Last Post: Ofnuts
12 minutes ago
» Replies: 2
» Views: 55
how to apply curves to mu...
Forum: General questions
Last Post: Ofnuts
15 minutes ago
» Replies: 8
» Views: 195
Resize used RIS.
Forum: Extending the GIMP
Last Post: Ofnuts
19 minutes ago
» Replies: 1
» Views: 75
Does Windows 11 hide its ...
Forum: General questions
Last Post: gophersnake
Yesterday, 09:39 AM
» Replies: 8
» Views: 311
Missing Development menu ...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
Yesterday, 09:09 AM
» Replies: 1
» Views: 90
Love these euphemisms
Forum: Watercooler
Last Post: denzjos
Yesterday, 08:03 AM
» Replies: 4
» Views: 200
ht set default compressio...
Forum: General questions
Last Post: Ofnuts
02-01-2025, 09:05 AM
» Replies: 5
» Views: 240
Font manager not managing...
Forum: Other graphics software
Last Post: Tailbit
01-31-2025, 08:11 PM
» Replies: 17
» Views: 4,190
No layers saved in Gimp 3...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
01-31-2025, 09:17 AM
» Replies: 2
» Views: 168
TableGimper released
Forum: Extending the GIMP
Last Post: ChameleonScales
01-30-2025, 10:52 AM
» Replies: 6
» Views: 2,688

 
  Is there any link for download GIMP Installer with Resynthesizer for MAC
Posted by: Derice - 04-08-2019, 06:33 AM - Forum: OSX - Replies (1)

Is there any link for download GIMP Installer with Resynthesizer for MAC?

Appreciate if someone could share the light.

Any version of GIMP is ok as long as the Rsynthesizer is working   Big Grin

Print this item

  Background removal or replacement on text, logos and other computer graphics
Posted by: Ofnuts - 04-07-2019, 10:55 AM - Forum: Tutorials and tips - No Replies

On CGI (logos, text), the smooth edges are produced with anti-aliasing pixels. These pixels have a color which is a mix of the background color and the subject color.

The usual (and suboptimal) technique

When you use the color selector or the fuzzy selector, these anti-aliasing pixels are either selected fully or not at all, depending on threshold. If you then bluntly Delete, you either get a halo with the color of the removed background (Threshold 15) or a jagged edge (Threshold 100) or both:

   
   

A better solution

A much better solution is to replace the background color by transparency, in proportion of its contribution to the color mix. In Gimp there are two ways to achieve this:
  • Colors > Color to alpha
  • Color erase mode, as a paint tool mode, or since Gimp 2.10 as a layer blend mode.
   

Both methods replace the pixel by the most transparent pixel, which, put over the removed color, re-produces the initial color:
  • If you remove red from purple, you get a semi transparent blue, because semi-transparent blue over red produces purple.
  • If you remove white from gray, you get a very transparent black pixel and not a not-so-transparent dark gray pixel, because among several solutions Gimp picks the most transparent one.
Note for 2.10:

In 2.10, the Color erase paint and blend  modes do exactly what is required, while the Color to alpha tool has changed a bit and its result is not always exactly what is needed for reconstructing with alpha-lock and Behind modes as explained below.

For instance, using Color-to-alpha to remove the red gives this:

   
   

You will notice that in the 2.8 results, there are darker pixels that are due to Gimp 2.8 working on gamma-corrected values (the result is still vastly better than the jagged edges you get with simpler methods). Gimp 2.10 works in "linear light" and has no such problems.

Refinements

In the general case, the subject may have parts that are close to the color of the background. So if you apply the technique above these parts become transparent (or partially transparent). Avoiding this is simple:
  • Use the wand to select the background. The usual threshold (15) is fine.
  • Select ➤ Grow the selection so that it covers the anti-aliasing pixels. On a clean image (PNG, with no JPG history) you don't need to grow by more than one pixel. If the image is dirty (JPEG artifacts), growing the selection by two or three pixels can be necessary.
  • Apply color-to-alpha (2.8), or bucket-fill the selection in Color erase mode, in both cases using the color to erase. The pixels inside the subject, being excluded from the selection, won't be altered. Color to alpha/Color erase will be applied to the background and the edge pixels, where it matters.
Output file types
  • JPEG doesn't support transparency
  • GIF supports binary transparency (all opaque or all transparent) so your semi-transparent edge pixels are going to be altered. You can use Layer ➤ Transparency ➤ Semi-flatten to fill the transparency of these edge pixels with a new color (the color of the background on which the GIF will be used).
  • PNG has full support for partial transparency and is currently the preferred format.
  • WEBP is a new Google-sponsored format that can be lossy or lossless, and supports partial transparency. Gimp 2.10 supports it, but you have to ensure that it is supported where you want to use it (it is supported by all recent browsers, but some servers (including this forum's own software) don't consider it an image format).

Changing the color of the subject

At that point you may want to also change the color of the subject. But you cannot just apply paint because you have to keep these semi-transparent pixels. Enters the "alpha-lock":

   

When it is set, the alpha channel of the layer is locked, in other words, the opacity of the pixels cannot be changed, and painting over them will only change their color and leave their opacity as it is, which is exactly what we want. So, to change the subject color, we just

  1. remove the selection (Select ➤ None), since the alpha-lock will do the work (a selection is even harmful in this case),
  2. set the alpha-lock,
  3. fill the layer, letting alpha-lock preserve the pixels opacity. This "fill" can be the bucket-fill of course, but can also be anything that paints the layer: for instance the Paintbrush, Gradient or Clone tools, or a noise-rendering filter such as Plasma.
Replacing the background

Replacing the background is as easy as removing the old one as above, and then painting a new one, isn't it? Of course, the devil is in the details. How do we paint the partially transparent anti-aliasing pixels, or more accurately, how do we recreate the appropriate color mix in each of them?

A first solution lies in the definition of what color-to-alpha does: once you have removed the background you can recreate the initial image by putting behind it a layer filled with the removed color. So replacing the background is merely using another background layer.

A second solution that doesn't involve an extra layer is to paint the layer using the Behind mode. 

   

As its name indicates, if you consider layers as sheets of glass,  this is equivalent to painting the underside of your layer: you don't see that color where the top side of the layer is opaque, you only see it through the (partially) transparent pixels. In other words, it does the opposite of Color erase: it replace transparency with a color, in proportion to the transparency.  The nice thing is that you usually won't need a selection to apply it, since it will only apply where necessary, which is where Color Erase created the transparency.

Print this item

  Convert to greyscale green
Posted by: nikosb - 04-07-2019, 03:59 AM - Forum: General questions - Replies (2)

Is it possible to convert an image to a "greyscale" Green, that is all pixels are represented by a variation of green intensity going from black to full green?

Here is an example of "greyscale" green image:

[Image: 0F8ErD4.png]

Print this item

  How can I edit the brush?
Posted by: Hymer - 04-06-2019, 02:39 PM - Forum: General questions - Replies (2)

My brush tool is locked somehow in oval shape, and I should like to change it to circle again, but I can not, even if I open the brush editing. The numbers are locked on it. What can I do?

Print this item

  Angelus
Posted by: Krol - 04-04-2019, 07:47 AM - Forum: Gallery - Replies (3)

Hi.

Here is another famous painting : Angelus, from Jean-François Millet.

[Image: 1jh7.jpg]

Let's play with it.
A Banksy inspiration... Smile)

[Image: nejx.jpg]

Print this item

  How to clean text from background
Posted by: Hymer - 04-03-2019, 01:27 PM - Forum: General questions - Replies (5)

I should like to clean the tiny text from old document, I should like to give white background to the tiny text and make the text black. Is there any smart sollution for this?
Ooops, the text is turned, but the problem is the same...



Attached Files Thumbnail(s)
   
Print this item

  Print double sided using gimp not pdf or gutenprint
Posted by: hoshi411 - 04-03-2019, 03:17 AM - Forum: General questions - Replies (1)

1) Gimp is the best tool I can find to print accurately with, all other pdf apps have failed me including windows ones over wine.  I do not want to discuss pdf tools.

2) Gutenprint is problematic for me and I don't want to discuss it as a solution.

3) I noticed that Gimp allows the option to print double sided in this option here

[Image: 5989d5a791d495ee1d4ae827eb9f9903.png]

4) It also allows me to select a range of pages here
[Image: 576QK.png]

5) I expect that this is referring to layers in the gimp document.  I want this to work.  I want to print double sided from Gimp.  The other solutions are problematic and everything leads me back to gimp.  It prints perfectly shrunken and centered and fitted with lovely color and dpi when I import pdf pages.  it is so nice.  I just want this feature to work but every time I print with double sided checked above and page range, It only prints the top layer.

Please explain this to me.

If you want to discuss pdf apps then PM me and if you want to discuss Gutenprint PM me.

If you have a non-cynical working solution for my problem above, please tell me.

Thank you.

Print this item

  Cyan in Gimp 2.10.8 failed to save image
Posted by: bade - 04-02-2019, 10:49 AM - Forum: Extending the GIMP - Replies (4)

Hello,

following the instructions given by GIMP-administrator "rich" in a video on this platform, I have downloaded, installed and applied Cyan in Gimp 2.10.8 (under Windows 10 Pro) to convert a GIMP-image (Adobe RGB 1998) into a TIFF-file (CMYK: ISO Coated v2 300% (ECI)). Everything worked well except of the last step: Cyan failed to save the image ("failed to save image, please file permissions or similar."). Alternatively, I tried to convert and save a tif-image (RGB) of the same GIMP-project, what again failed. Does someone know how this problem can be solved?

With kind regards.



Attached Files Thumbnail(s)
   
Print this item

  default output folder
Posted by: dinasset - 04-01-2019, 05:18 AM - Forum: General questions - Replies (5)

Likely a stupid question, but I do not see where to change the gimp default output folder; it's always "Documents" the first time (then it maintains what I say), but I think it's really somehow stupid to consider a gimp outcome as a "document", at least an "image", but even better would be to set it according to personal preferences. Thanks.

Print this item

  Changing the colour of an outline on a B & W image
Posted by: adam_b2019 - 03-31-2019, 12:36 PM - Forum: General questions - Replies (5)

Hi, 

I have a B & W image that is a black outline on a white background. It is an imported PDF.  I would like to change the outline colour to something other than black. When I select the outline using the fuzzy selection tool then change the colour the outline colour changes but the quality of the image becomes fuzzy/milky. It looses it's sharpness. 

How can I change the outline colour whilst keeping the sharpness of the image?

Thank you Smile

Print this item