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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,355
» Latest member: Raymondoxipt
» Forum threads: 6,662
» Forum posts: 36,306

Full Statistics

Latest Threads
Darktable Images Opening ...
Forum: Windows
Last Post: sallyanne
7 hours ago
» Replies: 2
» Views: 88
[SUGGESTION] Improved uni...
Forum: General questions
Last Post: Ofnuts
Yesterday, 09:48 PM
» Replies: 4
» Views: 155
Currently Active Image
Forum: Scripting questions
Last Post: Ofnuts
Yesterday, 09:32 PM
» Replies: 3
» Views: 149
Getting active image and ...
Forum: Tutorials and tips
Last Post: Ofnuts
05-02-2024, 07:32 AM
» Replies: 0
» Views: 115
python-fu pdb.file_exr_sa...
Forum: Scripting questions
Last Post: JBreckeen
05-01-2024, 03:12 PM
» Replies: 0
» Views: 100
Threading / Loops in Pyth...
Forum: Scripting questions
Last Post: JBreckeen
05-01-2024, 02:46 PM
» Replies: 14
» Views: 1,453
how do i erase blue penci...
Forum: General questions
Last Post: rich2005
05-01-2024, 07:21 AM
» Replies: 1
» Views: 121
Align Tool: Distribute ta...
Forum: General questions
Last Post: akn_39
04-30-2024, 10:08 PM
» Replies: 3
» Views: 3,141
Script Collection Online
Forum: Scripting questions
Last Post: rgbellotti
04-30-2024, 01:35 AM
» Replies: 1
» Views: 435
creases
Forum: General questions
Last Post: Ofnuts
04-29-2024, 02:22 PM
» Replies: 13
» Views: 558

 
  Color changes from computer to iphone
Posted by: richiie - 05-26-2021, 06:45 PM - Forum: General questions - Replies (1)

Hey Gimp Family,

Hope you are all doing well. I am editing a couple of pictures for my instagram portfolio. Whenever I export my pictures to my iphone, the colors and saturation looks different than what is on my desktop. Anyone know what I can do to fix this/make a new color profile?

Thanks

Print this item

  How do I do a grid fill?
Posted by: Shyden - 05-26-2021, 04:52 PM - Forum: General questions - No Replies

basically I want to do a grid fill similar to this, and I cant find any articles online. any help is appreciated, thanks!
[Image: unknown.png]

I figured it out. Go to Filters -> Render -> Pattern -> Checkerboard.

Print this item

  GMIC chops off image in GIMP
Posted by: GMP - 05-25-2021, 11:43 PM - Forum: General questions - Replies (5)

I'm using the latest GIMP and the latest GMIC. I'm doing a face swap using a layer mask on one pic. I'm using layer/blend (seamless), input - all visible. It's cutting off a good part of the pic and I can't recover that part by using Image/fit canvas to layer. It's simply chopped off. What can I do to prevent this?

Other time I've used this same preset without this happening. I went ahead and reinstalled GMIC, because at one time earlier today GIMP said the GMIC plugin crashed. This is an old computer 4 gigs of RAM.

Print this item

  Rubber stamp seal
Posted by: meetdilip - 05-25-2021, 05:38 PM - Forum: General questions - Replies (11)

Is there any easy method to create a rubber stamp seal other than drawing everything from scratch ? It would be nice if we can customise the text and colour. Thanks.

Print this item

  layer visiblity
Posted by: pjohnmathew - 05-25-2021, 10:05 AM - Forum: General questions - Replies (1)

I am a newbie Gimp 2.10 and I cant see multiple layers together even though i have made all layers visible with the eye icon ? A layer becomes visible over another one when i increase transparency only but this is not what i want... like to see all layers with full opacity..  help !!!

Print this item

  Calibrating white and black points
Posted by: psaccheri@gmail.com - 05-25-2021, 09:53 AM - Forum: General questions - Replies (7)

Hello,

I need to "calibrate" digitized images of test prints with the white and black patches of a color card, like the Spydercheckr24 that I have. 
My test prints are alternative photography 256 step wedges, i.e. little squares of degrading tones from the darkest to paper white that I print by hand using an old photographic process.

To better explain my "calibration" needs I can do the parallel with Photoshop. There I open my image containing the test print and the color card at its side (see attached image). I know the Lab (or RGB) values of the patches in my card. Using the Curves command in Photoshop I can customize the pipette values for the white, black and gray points. So I write in the Lab value for the black point and then click on the black patch of the color card in my image. Therefore the black point of the image adapts to the newly customized level. And so I do for the white and gray points inside the Curves command. At the end my image is "calibrated" as per the correct values of luminosity, the darkest and the white colors are as they are supposed to be.

In GIMP I have found that the Levels command has the white and black pipette but unfortunately they seem not to be customizable so they make the white patch to become your white (255,255,255 RGB) and your black patch to become (0,0,0 RGB) and my final test print is out of its real range of tones since the color card has not those values.

My question: is there a way I can perform a color value "calibration" using GIMP as explained above when using Photoshop? 

Thank you in advance for your help!
Paolo

P.S. attached a sample of my scan. I use the gray side of the color card but if of any help (automatic calibration sw) I can use the colored side.



Attached Files Thumbnail(s)
   
Print this item

  real world dimensions how to
Posted by: TravelingMan - 05-25-2021, 12:33 AM - Forum: General questions - Replies (1)

HI,
I have been searching for a while but cant find the exact answer I need.

I am designing the layout to a new dashboard in my bus. I want to use Gimp to draw the dashboard, then the guages on different layers, and place them in different positions to get the best layout. I know how to use all the tools. 

What I don't know is how to set the scale, I guess, of the canvas so that I get an accurate representation of the real world size. 

the dash is 215mm by 555mm when I use the rectangle tool and set the measurements to that, using the default drawing size, it goes off screen. 

How do I set up the scale or resolution etc, so that I can draw the correct size and it all appears inside the canvas area? 

I am not printing the drawing, I just need a visual representation so I can transfer positions and spacing onto the actual dashboard prior to cutting out. 

Cheers.

Print this item

  Color Balance not working on a mask
Posted by: GMP - 05-24-2021, 04:51 PM - Forum: General questions - Replies (1)

I'm doing a face swap and like the idea of the non-destructive method using layer masks. I have a layer mask on the face and just use the paint tool to erase the part of the face pic I don't want.
When I try to use Color Balance or Brightness-Contrast it only seems to work around the edges of the face and not the whole face. How can I get it to work on the whole face?

Print this item

  What are color-indexed images (a.k.a. Why are my colors all wrong)?
Posted by: Ofnuts - 05-24-2021, 11:42 AM - Forum: Tutorials and tips - No Replies

You are likely reading this because Gimp is doing weird things with your image colors. This is usually caused by your image being color-indexed.
This can be checked by looking at the Gimp window title bar, that indicates the current image mode:

   

If this is the case, read on....

What are color-indexed images?

In most image formats, each pixel is described with three separate values for red, green, and blue. These values are usually kept in 8-bit bytes(*). A byte can hold 256 values, so the total number of possible colors (R, G, and B combinations) is 256×256×256=16777216 (≈16.8 million).

However, this can be quite wasteful if there are few colors. Enter color-indexed images. In such images, the (limited) set of colors is kept in a list, called the colormap. Colors in the list are described by the usual three bytes,  and pixels are described by a single number which is the index of their color in the list.

For instance you can have a colormap with just 8 colors such as this:

[0]     0,  0,  0   # Black
[1]   255,  0,  0   # Red
[2]     0,255,  0   # Green
[3]     0,  0,255   # Blue
[4]   255,255,  0   # Yellow
[5]     0,255,255   # Cyan
[6]   255,  0,255   # Purple
[7]   255,255,255   # White

and the yellow pixels in the image will be designated with the value 4.

A (small, 6×4 pixels ) French flag would for instance be represented by:

   3   3   7   7   1   1
   3   3   7   7   1   1
   3   3   7   7   1   1
   3   3   7   7   1   1


Colormaps are usually limited to 256 colors, because this allows the index to fit in a byte, so this makes the image use one third of the bytes needed for a full-color equivalent. With a bigger list, you would need at least two bytes and so would only get a 33% reduction in size, likely not worth the added complexity.

In regular images, the color map is very often close to 256 colors. Even if the image looks simple with areas of uniform colors, due to anti-aliasing the pixels on area boundaries are usually a blend of the colors on either side, so the color map of that blue and green image contains many intermediate colors:

   

In addition, if the image has transparent pixels, the transparent pixels are indicated by using a color in the colormap and flagging it as the "transparent" color (so the actual color map is restricted to 255 pixels, if you don't count transparency).

Color-indexed image formats

There are two common image formats that can be color-indexed:
  • PNG: A variant of the PNG format is color-indexed, even if this not a frequent usage for this format
  • GIF: GIF images are always color-indexed

GIMP handling of color indexed-images

In Gimp there are three image modes, RGB (3 color values per pixels), grayscale (one color value per pixel), and color-indexed. As shown above, with the default settings the image mode is displayed in the title bar of the image window. You can change the image mode with the Image ➤ Mode menus, which is also a way to check the current image mode.

Checking the color map

The colormap of the current image can be check using Windows ➤ Dockable dialogs ➤ Colormap. There is a single  colormap that applies to all the layers of the image(**).

Loading images

When the loaded image is in a color-indexed format, it is kept color-indexed in GIMP. So loaded GIFs are always color-indexed, while loaded PNGs can occasionally be so

Exporting images

If the image is color-indexed in GIMP, it is exported as a color-indexed file if the image format supports it (this is one way to create color-indexed PNGs). If the image is not color indexed and you export to a color-indexed format, the image is color-indexed on the fly.

Editing images

When you edit a color-indexed image, Gimp never changes the color map implicitly. This means that you cannot use colors in the image that are not already in the color map.

In particular:
  • All the colors of external images that you try to add to your color-indexed image will be adjusted the "closest color" in the color map, this includes:
    • Images that you load by File ➤ Open as layers
    • Anything that you paste (whatever the source: another Gimp image, or another application)
    • Layers that you drag from other open Gimp images
  • Most color tools (Levels, Curves, Brightness/Contrast, Saturation...) will behave strangely, because color values will "jump" between colors in the color map.
  • Many filters will be disabled.
  • Whatever the Foreground/Background colors are set to, the paint tools will use the nearest color in the color map.

In addition, since the handling of color-indexed image in Gimp is modeled on the GIF format, the opacity of layers is binary, everything is either fully opaque or fully transparent.

How can this be avoided?

The obvious solution is to convert the image back to full RGB (Image ➤ Mode ➤ RGB).

But this introduces new problems that you will have to deal with if you want a color-indexed format at the end (typically, a GIF animation).

In most cases you will have started with a colormap already full, and added new image/features that add even more colors, so your image contains more than 256 colors (you can check the current number of colors using Color ➤ Info ➤ Color cube analysis). When the image is color-indexed again, some of these colors will have to be coerced into one of the remaining 256 colors. This will very often make the image look grainy or pixellated. In the worst case, if you add features/images that are in stark contrast with the initial images, half the colors in the initial image will be binned to make room for the colors of the new features. The result won't be pretty.

If the additional colors are on new layers, you can sometimes mitigate this by doing the color-indexing outside of Gimp. Export all the frames as full-RGB PNGs, and use an external tool to make the animation from them. The tools will likely use a colormap per frame and so alleviate the single-colormap restriction.

(*) which was a hard rule in Gimp up to Gimp 2.8. Gimp 2.10 lets you have more than 256 values per color channel when you use high precision images.

(**) an extension to the  GIF animation format allows one colormap per frame, but Gimp doesn't support it.

Print this item

  Can't hide layer boundary when merging layers
Posted by: GMP - 05-24-2021, 06:22 AM - Forum: General questions - Replies (4)

I have a simple project with just 2 layers. I want to merge them into 1 layer. But the layer boundaries aren't the same. IN the screen grab of GIMP you see 2 yellow layers. The top layer has a right border that doesn't extend to the right as far as the layer beneath it, which you can see it extending further to the right. When I export this image of 2 layers, the layer right and bottom boundaries show as you can see in the pic. I want to not see those 2 lines, when I export the pic. Is there any way to do this in GIMP?



Attached Files Image(s)
   
Print this item