GIMP :: Copy Histogram Data From Red Channel Of Non-corrupt Portion Of Image?
Apr 28, 2011
I have a nice image that has lost the red channel histogram data for about half of the image. It can still be viewed, and the preview is correct.
Can I copy the histogram data from the red channel of the non-corrupt portion of the image? I know it's the red channel because when I open the color data from the corrupted portion the red channel is literally non-existant.
I have some textures, and i am trying to pack them into texture atlas. All of them are RGBA png's generated with PIL (Python Image Lib). I am opening all of them in gimp and copy-pasting them into their new place in texture atlas.
But i have noticed something strange, i am storing specular map in alpha channel of my diffuse textures, and emission value in alpha channel of normal textures.
The problem is, that GIMP does not copy pixels with 0 alpha value into clipboard. So, when i am trying to copy a normal map from source to atlas, and if emission value is 0, then GIMP is not copying anything, i am getting empty layer pasted into my atlas, if there are 0 alpha value pixels in diffuse map they are not copied to destination, even selection outline shows that there are no pixels in places where specular is set to 0.
I have a PNG image with only one layer as a start point. It has a faded map on it.
I have a second PNG image with a hex grid on it. I do colour to Alpha to establish transparency on the hex grid for white filled hexes (others are not filled with white).
Now, I wish to overlay a portion of the first image with the faded map with the non-transparent part of the second image.
So I select by colour (for the hexes not filled with white) on the second image (the overlay) and I then paste to the first image (after creating a transparency layer and selecting it to receive the overlay).
I see the desired overlay section (minus any transparent stuff as expected), however it is centered over the map in the first image, not where I want it to be. It is a floating selection and must be anchored. So I select the anchor icon in the layer dialog and I think I anchor it into the transparency layer on the first image (that's what I'm trying to do anyway).
And then my problem:
I want to move the thing I just pasted in to the right place with respect to the underlying faded map. I attempt to use the move tool, but all I move is the background map (pretty much the opposite of what I want).
Nothing I do seems to let me reselect the pasted-in overlay so that I can move it.
Why I can't ever reposition the pasted in overlay? It should be in the transparency layer I created but even if I select all, I don't seem to be able to move anything other than the background image.
I am a screen printer and I print my separations from Photoshop. I routinely work with multi channel files or RGB files with additional spot color channels. I have created actions to place my registration marks, re-size images, etc to get ready to print but I manually have to create the text labels for each screen if they are missing from the original artwork.
The files I work with have channels named as "Base White, Red, Green, 284 Blue" etc indicating the ink color. What i would like to be able to do is click an action that would copy the text from the channel name and insert it into a separate or each/all channels near the top of the file so that when I print each positive it has a corresponding label for ink color.
I am not sure if this is even possible, and I am limited on my knowledge when it comes to actions and have pretty much got lucky in the past getting them to do what I want without unnecessary steps.
On my registration target action it creates a new channel with each individual reg mark then combines them into one separate channel in which I just copy the contents and select all the ink channels and fill with black to make them appear, i'm happy with the steps it takes as it isn't too much trouble and if this could do the same with labels I would be happy with that.
I have a large background image and I want to change (lower) the transparency of the header portion. I can select the portion with the rectangle, but after that I'm stuck. I tried changing opacity but it affected the entire image. I tried selecting Layer -> transparency -> add alpha channel, but that didn't do anything that I could see. How do I make the rectangle portion that I selected somewhat blurry?
Note: I did simply blur out the header portion of my image as one solution. But is it possible to add a layer over just the header part of the image and make that layer semi transparent?
GIMP closed while I was in the middle of saving an image and is now telling me that the xcf is corrupt and that there is no usable data in it even though the file is the same size as it was before the crash. This is the third or fourth time it's done this to me. I'd include the file but this is the first time I've posted here and I don't know how
I'm brand new to GIMP, I just downloaded it to get into some simple pixel art.
I was going fine, but I've run into a problem. I'm trying to select a portion of my image using the rectangle tool, and then move it to a different location using the move tool. However, when clicking and dragging the move tool it shifts the entire image, not just the portion I have selected. I read in the FAQ that you need to press "Enter" to finalise the selection before you move it, but even doing that doesn't work.
This was working fine for me earlier, I'm not sure what I've done to break it. I've tried resetting my tool preferences back to defaults but that has not worked.
I need to get the visible portion of a particular layer in the final image.Lets say i have 4 layers and some portion of each layer is visible in the flattened image i would like to get the portion from each of the layers. The input will be in xcvf format.I will ideally want to automate this and output to file in some format looking like this,
Layer1 ---> Co-ordinates of visible polygon from this particular layer in the image . Layer2 ---> And so on.
How to proceed with the script. I think brute force is to take each non-transparent pixel and and find the same pixel in all above layers if it is not found it will be added to the region.Or something exists like selection from alpha combined with multiple layers ?
Or if there is a way to find out for an image with all layers visible which pixel came from which layer ?
I have a B&W images. It's actually in RGB but all shades are gray. I would like to create an alpha channel whose values equal the brightness of each pixel. How do I do that?
Thought I'd try Gimp on my new laptop instead of Photoshop. I'm making graphics for a game.
I needed to add an alpha channel to an image and edit it, including pasting into the alpha channel from the clipboard. Easiest thing in the world on Photoshop, but seems utterly impossible on Gimp.
I've looked at a few threads that discuss editing the alpha channel, and they make it sound like rocket science. Notable, most seem to involve juggline multiple other images and then following convoluted pasting operations to get anything down. Or using layer "Masks" which, as best I can see, are impossible to paste into (and I couldn't find how to convert these masks to alpha channels either.)
As it stands, I've failed to get anything onto an alpha channel at all, except some scribble that showed up in the tiny side icon but couldn't be seen in the main image.
I'm new to Gimp, and I'm hoping I've just missed something. What is the straight forward way to edit the alpha channel (drawing on it, pasting into it from the clipboard), and seeing the results at the same time. I've tried everything intuitive and nothing works.
I am trying to collect the mean, median, and mode of the RGB color values for a lot of different images.. Instead of just exporting the histogram raw data, I would rather just export what you see in the 'statistics' window when you open the histogram window.
Also, if I just wanted to transcribe it myself, I am not even able to keep the histogram window open while typing the data in excel.. So I constantly have to click back and forth (or just get better memory)..
In short, I have two images open in Gimp. I need to add one the images to the alpha channel of the other image. How do I go about doing this? I was able to add an alpha channel but beyond that I am lost.
This bit will only make sense to 3D modelers. I have 3D model that I'm importing into a the Unity 3D game engine. One of the material shaders makes use of specularity maps. Normally the specularity map would reside in the alpha channel of the RGBA diffuse image, but due to file sizes, all these are released as separate jpegs. The idea is to make some parts of the 3D model more glossy as far as I know. The only way to do this is to add this specular image to the alpha channel of the diffuse image, and then the game engine can work its magic, making the skin look realistic.
I made a complicated selection, which I saved to a channel. Then I inverted the selection and tried to delete the inverse (hopefully to transparency, but deleting to a background color would be better than not deleting at all). However, nothing happens when I press the delete key, or when I select "Clear" from the edit menu. Trying to use the Cut command doesn't work, either.
After deselecting, I can get the selection back through the channels dock, by right-clicking and then choosing "Channel to selection" or "Add to selection." It appear to replace the selection from the channel properly. I just can't delete anything.
I already have an image file in png format..which I want to use as an application launcher icon for my android application.
The android specifies image with following properties for the launcher icon(Will need 4 different image to support different screen size in mobile devices)
Launcher icons should be 32-bit PNGs with an alpha channel for transparency. The finished launcher icon dimensions corresponding to a given generalized
Screen density are shown in the table below. 1. 36 * 36 px 2. 48 * 48 px 3. 72 * 72 px 4. 96 * 96 px
I would like to create 4 png files(with specifications mentioned above) from the already existing image file. How do I do that in GIMP.
I am completely novice to image editing(Never touched any image editing software before) and not sure how to achieve this in GIMP.
There seems to be tons of threads on how to make a transparent image, but I haven't been able to fine one to do one specific thing.
How do I set the alpha channel to be black? I want to have a black background on a png file, but I need the black to be transparent to things behind it on a webpage.
I have been using gimp now for about 2 months and have just upgraded my OS to Mavericks and upgraded Gimp to 2.8.8.
Upon doing this I seem to have lost the ability to copy/cut an image or part thereof from one open image into another... Example:
I have an image window open with a picture a car and I have an image window open with a race track back ground.
I want to copy the car from image 1 into image 2, but for some reason I cannot do this function anymore. When attempting it, once the item is copies to the clipboard and I then swap to the second image, when I paste as a new layer it pastes the clipboard from that image and not the image from the first window...
I'm trying to write a script to batch process a number of files. I want the script to open file a*.png, convert black color to alpha and paste image b*.png on top of a*.png (both are the same size). The script converts black to alpha, but it doesn't paste image.
I’ve recreated and replaced a corrupt drawing, which contained surfaces that were data referenced into multiple files. Is there a way to update the data shortcuts, so other drawings referencing the surfaces are unaffected? I’ve tried moving the corrupt drawing to an archived folder and naming the new drawing and surfaces to match the old. However, I’m not able to repair the broken shortcuts in the other drawings. The surfaces are referenced in a large construction plan set that includes sections, profiles, and numerous labels based on the surfaces – it will be very time consuming to create a new reference in each drawing.
If it was possible to copy a portion of a 3d objects so I can show a blow-up of how the pieces come together (better view). I know i've seen them in drawings where a portion is larger in a circle and with an arrow pointing to where the actual reference is. Or is that all done in modeling or drawing also?
I am fairly new to Gimp, but love it. I am a marine biologist and I would like to use this program for my research. I do need to export the histogram values as I need to do some calculations (pixel count and value). Is there any way I can do this?
Is it possible to read raw image data into Gimp? By raw, I mean image data without a header or compression, i.e., RGB, 16-bit unsigned, or 32-bit floating point grayscale, etc.
I see "Raw image data" under "Open > Select File Type", but grayscale isn't listed. Is the only option? Are there any add-ons for grayscale?
Every time I try to copy an image (with a transparent BG) and paste it into my overall project I'm working on, both opened in GIMP, I always get just the selected dotted lines as an outline of the image.
I have one image that has a specific texture I want to reuse for my own custom image, but I'm not sure how to use it in the paint brush while working on the other one. Can I do it the way I described?
when a copy is made of one of the channels be it the red channel , the new channel that is created will automatically be named alpha 1, but on my photoshop it will be called red copy . Do I have to name it alpha 1 or is there a setting I have to make.