GIMP :: Find All Pixels In Image With Exact / Specific Color?
Apr 7, 2012
How can I find all pixels in an image with an exact, specific color? So far, I've only managed to find the pixels matching a pixel I click on; but I wish to find pixels matching a specific color value!
I want to select a specific color from within the image, and change all similar colors within that image to a different color. In other words, after using the Color Picker Tool to select a color from the image, I want to take the selected color (and everything in the image that is equal to or similar in color), and change them all to a different color.
I tried using the Path's Tool to create an outline in the image, and changing colors that way, but it changes all the other colors in the selection I don't want to change. I just want to change all colors in the image/selection that are equal to or similar to the selected color. How do I do this?
I have a jpeg image of a motorcycle on a pure yellow background. I want to make the yellow transparent. Naturally there are a lot of spaces within the motorcycle image that contain yellow.
I followed instructions I found...
Removing the background of an image
1) add an alpha channel to your layer
2) use colors/color to alpha and use the background color
This results in the checkerboard being applied to the motorcycle, not the yellow background. I assume that's okay.
This makes all the pixels with the background color transparent, and those with a close color partially transparent.
Then:
- select the background with the magic wand,
- grow the selection by a couple of pixels to ensure that the border of the sprite is in the selection (the most important work of color-to-alpha is on the border pixels, so they shouldn't be protected)
This selects only the area outside the bicycle, but I don't mind reselecting smaller areas, if I can.
- grow the selection by a couple of pixels to ensure that the border is in the selection (the most important work of color-to-alpha is on the border pixels, so they shouldn't be protected)
I am trying to find a way to target specific pixels of a certain color and value range. The Color Range dialog does not produce the desired effect. For instance the white pixels bleeding throughthe fabirc. What is the proper way to select these pixels
I have a dark gray triangle alongside a pure white triangle in a square GIF image. I want to convert the white triangle to alpha and leave the dark gray triangle completely opaque. When I use Color --> Color to Alpha, however, I see the checkerboard pattern extend over the gray in addition to the white.
1. Does this mean that the gray is being made translucent?
2. If so, how do I set only one the white to alpha (at 0% opacity) and leave the gray at 100% opacity?
i'm looking for a Pantone color, that has this code "PMS 583 C", i tried typing it in the Pantone Solid Coated library searchbar but i couldn't find it. does it have a different code or something, the color is greenish.
I am working on tiny comic-strip frames that are being drawn as seperate images and when it comes to colouring, there is a time-consuming snag where I forget the exact colours of the finished frames which I need to keep checking and seeing earlier single images in order to compare and then reproduce the colours accurately in a consistent sequence.
Believe it or not, I get around this problem by taking digital still camera shots direct off the screen and consulting them afterwards! This does work, but it's hardly practical------is there an easier way to repeat the exact same colors on a separate image, without having to constantly refer to pre-existing images within GIMP? If I can reproduce the exact colours on different images automatically without having to recheck earlier images, this would save me a lot of time!
[Ideally, does every shade of colour have a code number or similar method I can enter and it will come up again accurately? This way, I could write down the shade number and repeat it exactly later on a new image where the exact same colour is required.]
The sheer number of shades of colour and tones make it very difficult to remember the exact colours accurately.
I have an image with an transparent background. I want to change all pixels that are not the background to one color. How do I do this? I can't select the pixels, they as arbitrariliy distibuted. I've played with threshold, but that's not working either. I tried Image-->Mode -> Indexed and then Use black and white palette, but that doesn't work either. I thought i would convert all non-transparent values to black, but instead its picking some threshold and making some black and others transparent. Example file attached.
I had a .JPEG of a leaf photographed against a white background. When I went to turn that white background into a transparent alpha channel, it seemed to work okay....except for the fact that when I then went to select the new alpha channel via the Fuzzy Select Tool, it wasn't selecting all these newly transparent pixels.
How can I control the color of transparent pixels?
I save my image in RGBA (Windows bitmap). The RGB value of the completely transparent areas always turn completely black, and I want to control the color myself.
It may seem pointless, as the color is transparent, but I am using the image elsewhere (for creating mipmaps) where there is interpolation between pixels. Interpolating between 0 and 1 in opacity gives 50%, but the RGB part of the interpolation will mix with black, giving a dark halo.
I have a layer that is all white with text and some shapes (with heavy anti-aliasing, so the alpha channel variations of white, too) and I am trying to convert it to a specific other color (just a cream color that I have the HTML code for).
So, when a layer is all one color (not counting variation in alpha values), is there a technique to change that to a specific other color, rather than just toggling the "Color Balance" to get an approximation?
Make a current, parent image, pattern step and repeat at an exact distance from the parent.
I have a parent image 4.75"long X 2.00" high image I want the pattern repeated in the Y direction every 2.10" or with a .10" space between the images, to create a 1XN array or tiles or pattern?
I then want to print the new tiled, array image to the exact size.
I was using Paint.net but I've found it too limited. The GIMP has much more power and I can do a lot more with it, but I've found a few things I can't figure out how to do.
For example, when I use the Eyedropper tool () to choose a color, GIMP doesn't seem to include any transparency in the selection:
The Colorpicker just chooses the color at 100% opacity. Is there any way to change this so that my new foreground color includes the transparency level?
step 1) I remove the background of my image with the color to alpha method, isolating the part of the image i want.
step 2) I then use color select tool to select all the transparent area that was left behind from step 1.
step 3) I create a new layer.
step 4) Then I use the bucket fill tool to fill in the area on the 2nd layer that was selected in step 2.
This is where I run into trouble. On some pixels where the color filling meets dotted line area (made by color select tool) the color comes out translucent. I don't want this to happen. I want it to be solid ff00ff (color hex) without the random reductions in opacity.
I'm working with sprites and the emulator i use has ff00ff as transparent. I'm getting random pink color coming out of the edges of my sprites. These little specks of pink should not be appearing in game because it is supposed to be read as transparent. i suspect that these specks coming out are related to these translucent hiccups made in gimp.
Whenever I paste an image from the internet into Gimp, the image is shifted 3 pixels to the right, and those three pixel columns wrap around to the left side. At the bottom of those three now leftmost columns are a red, green, and blue pixel.
What the bottom left corner looks like:
This only started recently and I can't think of anything I changed recently to trigger it.
I opened a transparent PNG and exported the PNG to another file and unchecked 'save color values from transparent pixels' but about 20% of the color values in transparent pixels STILL remain in the picture when viewed in other programs that show those pixels!!! Gimp is NOT removing ALL color values in transparent pixels!
Is there a way to make the color select tool not only select a specific color but related shades as well. I have a graphic that is mainly shades of gray but with black outlines and divisions as well as other colors mixed in. I want to shift all the shades of gray to shades of dark yellow without have to select each shade individually.
I'm currently trying to use the text tool so I can color a line of text in two differing colors. However when I highlight the characters I want to change the whole line changes.
How do I change the color of specific characters in a line of text?
2 days on GIMP. I need to adjust the clone tool so it's 1080 pixels vertical and about 20 pixels wide. I googled and searched, but I can't seem to find the right phrasing.
I need to have a pic finish at (width-3072 and height- 2048 pixels). When I click on file>new I put in those dimensions, but when I am done with pic and I export it, the picture shrinks to very small. The only way around this is to maximize the image in Gimp to 100% and use my snipping tool to outline the image, then "save as". This will save it large, but not the size I need.
My brothers and I took some pics and I added a couple things in one of mine, to try to fake them out. If the size of THAT image is way different than the rest, the fake out will not work. I normally use Faststone to re-size my images but it will not re-size my Gimp images.
I've been using GIMP to make GIFS for a long time now, but recently the "optimize for difference" option I've used is having the reverse effect it should have- ie, it's making the file larger. Here's an example. It's the exact same image, same dimensions, same amount of colors. The first one is unoptimized, each frame is a full picture, and it's file size it ~149kb. The second one is the same as the first, except optimized with about ~50% of the pixels removed from each frame (except the first frame obviously), and yet it's file size is ~155kb. I can not for the life of me figure out why an image with most of it's pixels removed is creating a larger file size. [URL]...
I've been experimenting with large font sizes on a base image of 2000x3000 pixels. I've been using a basic white type face on a dark gray background and adjusting the lightness and contrast of the white color to different levels. Also, I created the type as as png first and then brought into Gimp. When the image is at full size, the type looks fine, but when I shrink the image down, say a quarter of the size, the edges of the fonts get very jagged and look like they're breaking up.
How to change the shape of an image to fit a specific shape.
What I'm trying to do is reshape a geometrically patterned rectangular image so that the printed image fits around a truncated cone. I'm trying to use the image to create a stencil for glazing a straight sided pottery cup. I know the circumference of the rim and the circumference of the base of the truncated cone so I need to wind up with the borders of the image having a convex curve at the top with the arc length equal to the rim's circumference, a concave curve at the bottom with the arc length equal to the circumference of the base, and with the end points of both arcs connected with diagonal lines equal to the length of the sides of the cup. In addition, I'd like to preserve the image in it's entirety, but distort it as necessary to fit the borders without cutting any of it out. (I attached a sketch in case my pattern shape description was confusing).
I'm creating a sprite sheet and I need to move my sprites to a specific location.
For example my sprite is 120x120, so I need to place the 5th animated frame at EXACTLY 120x5=600 pixels from zero or at 600, 0. I can't seem to find a way of doing this in GIMP, it shows me a mouse delta position from where I first clicked?
Is there a way to find the exact area of an irregularly shaped object? If there is, does the procedure work for compound paths (objects with holes in them)?