How to remove an alpha texture in GIMP

There's a lot of stuff I want to reskin but can't as it has an alpha texture. How do I remove this and get the texture to show up?
The "Remove alpha" button in Gimp doesn't do anything.
 
A pedantic note: in GIMP, each of the color components, and the alpha component are not called "textures", but rather "channels", so there is a red channel, a green channel, a blue channel, and an alpha channel.

Note that in GIMP, the colorspace (grayscale, RGB, RGBA) is a characteristic of the image, so open the image in GIMP and in the Image menu, selection "flatten image". This will remove the alpha channel from the image.

ns
 
Last edited:
Ok, I am trying this now. Will edit post if it works.
EDIT: Now something shows up, but it's just a solid green picture with a few light lines showing up.
 
Last edited:
Make sure you're saving as a 24 bit tga (used for a texture with no alpha) instead of 32 bit (used for a texture with alpha). Additionally in the Trainz asset make sure the .texture.txt file has no alpha line. The wrong combinations of 24/32 bit files and .texture.txt specifiers can have strange results...
 
If it has an alpha you will need to use the alpha with the reskin so you need to save the alpha then add it back again, sorry don't use gimp so not sure if you can do that. As the original uses an Alpha the reskin will probably need it or it won't work.
Edit:
Removed the bit about irfanview and images2TGA, won't be much help on a Mac.
 
Last edited:
I don't know how you guys are editing assets without Asset-X. Asset-X will remove and restore the Alpha channel and a host of other task.

John
 
If the original asset had an Alpha image ... Your final reskin will need it put back into the images Alpha channels.

Free Irfanview allows you to view the Apha channel, and to remove it, for as soon as you edit the image the Alpha channel is gone.

IM2TGA allows you to re-make an Alpha image
 
Yeah, those aren't for Mac. Because Mac users and the stuff they are doing are less important than PC users and the stuff they are doing, some companies don't make programs for Mac that they do for PC.
 
Mac users can of course easily remove this so-called "limitation" by using boot camp which downloads the necessary Windows drivers and sets up a dual-boot system that gives Mac users the ability to run both OS X and Windows programs natively.
 
It's not like I got a computer specifically for gaming, the old Apple one broke, so we got a new Apple one. I don't understand why programmers STILL don't make equal stuff for Mac. C'mon people, it's not like it's the start of the internet age?
 
Or just buy a Windows machine.

That's fine and dandy if you're willing to settle for just being able to run Windows, but if you want to enjoy the best (software) from both (OS) worlds, you either:

(1a) buy a Mac and run Windows natively via boot camp or install and use one of three third-party virtualization programs to run Windows programs or (1b) buy a Mac and install CodeWeavers' CrossOver Mac (with no need to buy Windows)

_or_

(2) take a leap down the rabbit hole and build a Hackintosh.
 
There is a 'Remove Alpha Channel' option in GIMP if you right click on the relevant texture in the Layers Palette. Or an 'Add Alpha Channel' if there isn't one and you need one.

Paul
 
Back
Top