Gimp Layer Mask - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Gimp Layer Mask (/Thread-Gimp-Layer-Mask) Pages:
1
2
|
Gimp Layer Mask - iconwilly - 02-14-2023 When I made an image in GIMP I overlayed a paper texture onto my photo making the image look like it's made of paper. But when I transfered the image to VTF or made it my computer background, the paper texture I added seems to be missing, is there a way to add this texture to the image so it looks like this no matter what, when I put it in VTF or any other software. Thanks. RE: Gimp Layer Mask - rich2005 - 02-14-2023 What image format are you exporting ? Try flattening the image before the export. Image -> Flatten Image. RE: Gimp Layer Mask - iconwilly - 02-14-2023 (02-14-2023, 09:36 AM)rich2005 Wrote: What image format are you exporting ? I am exporting in tga (targa) RE: Gimp Layer Mask - rich2005 - 02-14-2023 It should be: what you see is what you get. Instead of flattening the image I made a Layer -> New from Visible before exporting to a TGA file. Just used the default setting. RLE compression on. That displays correctly outside Gimp. [attachment=9368] Maybe it is your workflow, can you give details. Layer mask ? RE: Gimp Layer Mask - iconwilly - 02-14-2023 (02-14-2023, 09:55 AM)rich2005 Wrote: It should be: what you see is what you get. Let me try an go through my process. 1. I create a 1024x1024 image with a transparent background. 2. I open another image with the same parameters. (Paper) 3. I then add an alpha channel to my first image then add a layer mask. 4. I click on the layer mask and paste the second image from 2 onto the image. 5. The Image shows transparent areas on the original image and when I download it, it looks like how I want it. 6. I try and make it my background on my computer or put in vtfedit but the layer mask isnt applied to the image at all, even though I see it when I look in my folder or look at it in my image viewer. RE: Gimp Layer Mask - rich2005 - 02-14-2023 There are a couple of things there but really should not make any difference. (3) add an alpha channel and then a layer mask. The layer mask adds the alpha, adding an alpha channel is redundant. I suppose, I am getting the same as you, views ok in a file viewer but since I have no knowledge of valve or vtfedit all I can suggest is either apply the layer mask or a new from visible. FWIW that as an animation. https://i.imgur.com/f2UcdH6.mp4 Probably an issue with the TGA format. The vtfedit page says png is also a valid format. Maybe someone else has other advice. RE: Gimp Layer Mask - PixLab - 02-14-2023 Quote:3. I then add an alpha channel to my first image then add a layer mask. The Targa file format doesn't store transparency in the same way as formats such as png so it needs to have an alpha channel which is a component of an image which describes how transparent each pixel is... > https://graphicdesign.stackexchange.com/questions/53644/handle-a-transparent-layer-in-targa-file (yeah that's not from me, just clicking on google first link) Here also is a good read about targa > https://community.adobe.com/t5/photoshop-ecosystem-discussions/saving-an-image-as-tga-with-transparency/m-p/3588469 Roughly, your mask needs to be an alpha channel, thus copy your mask and paste it on the alpha channel or create a new one called "Transparency" and copy your mask on it, as it is said in that post in the last link. On GIMP it would be something like: In the layer's dialog CtrL+Alt+Click on the mask to make it visible on the canvas, then in the Channel tab/dialog drag down any channel, then go back to the layer's stack and do a Ctrl+Alt+Click on the mask to remove its visibility as a "working layer" (Ctrl+Alt+Click on the mask is a toggle)... roughly.. (maybe you need to delete your mask after that, I did not try) a 20-second video https://imgur.com/Q4SgxpS RE: Gimp Layer Mask - iconwilly - 02-14-2023 (02-14-2023, 11:14 AM)PixLab Wrote:Quote:3. I then add an alpha channel to my first image then add a layer mask. When I add the transparency image it goes onto the image as a new layer like this. When I ctrl alt click on it nothing comes up so I can't get through this part. I don't know why it makes a new layer above my own image. The Image. RE: Gimp Layer Mask - PixLab - 02-14-2023 (02-14-2023, 09:27 PM)iconwilly Wrote:(02-14-2023, 11:14 AM)PixLab Wrote:Quote:3. I then add an alpha channel to my first image then add a layer mask. Click on that button to anchor it (Before "Paste" ot "Ctrl+V" you have selected the mask...) RE: Gimp Layer Mask - iconwilly - 02-15-2023 (02-14-2023, 09:27 PM)iconwilly Wrote:(02-14-2023, 11:14 AM)PixLab Wrote:Quote:3. I then add an alpha channel to my first image then add a layer mask. I did the ctrl+alt+click method stated here after I was able to anchor the image but I am still running into the problem even after deleting the mask aswell. |