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.
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.
Maybe it is your workflow, can you give details. Layer mask ?
(02-14-2023, 09:55 AM)rich2005 Wrote: 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.
Maybe it is your workflow, can you give details. Layer mask ?
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.
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.
02-14-2023, 11:14 AM (This post was last modified: 02-14-2023, 12:04 PM by PixLab.)
Quote: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.
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/...targa-file (yeah that's not from me, just clicking on google first link)
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
02-14-2023, 09:27 PM (This post was last modified: 02-14-2023, 09:29 PM by iconwilly.
Edit Reason: Image doesnt work
)
(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.
4. I click on the layer mask and paste the second image from 2 onto the image.
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/...targa-file (yeah that's not from me, just clicking on google first link)
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
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.
Quote: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.
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/...targa-file (yeah that's not from me, just clicking on google first link)
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
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.
Click on that button to anchor it (Before "Paste" ot "Ctrl+V" you have selected the mask...)
Quote: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.
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/...targa-file (yeah that's not from me, just clicking on google first link)
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
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.
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.