GIMP: Difference between revisions
SirYodaJedi (talk | contribs) m (Software templates) |
SirYodaJedi (talk | contribs) |
||
Line 23: | Line 23: | ||
Fortunately, so long as [http://docs.gimp.org/2.6/en/gimp-dialogs-structure.html#gimp-layer-mask Layer masks] are used the only operation known to trigger the problem in current versions of GIMP (future releases may be different!) is "Merge Layers". As a workaround, consider using "New from Visible" instead. | Fortunately, so long as [http://docs.gimp.org/2.6/en/gimp-dialogs-structure.html#gimp-layer-mask Layer masks] are used the only operation known to trigger the problem in current versions of GIMP (future releases may be different!) is "Merge Layers". As a workaround, consider using "New from Visible" instead. | ||
== Usage with GoldSrc == | |||
{{warning|GIMP tends to mess up colors of 8-bit images, tinting the image slightly green, adding red pixels, and messing up the color of transparency. It is highly recommended to do any editing in full 24-bit color instead, and use [[IrfanView]], [[WadMaker]], or even [[Wally]] for converting the textures to 8-bit.}} | |||
=== Export settings === | |||
<gallery mode=nolines widths=256px heights=160px> | |||
Gimp tga export.png|{{Gimp|4.1}} export settings for TGA files<br>(RLE compression should be disabled for 32-bit images and game icons) | |||
Gimp bmp export.png|{{Gimp|4.1}} export settings for BMP files | |||
</gallery> | |||
== See also == | == See also == |
Revision as of 13:11, 10 June 2023
GIMP (GNU Image Manipulation Program) is a free and open source image editor. Download it from gimp.org.

C:\Program Files\GIMP-2.0\
. [todo tested in ?]Usage with Source
VTF support
Download the GIMP VTF plug-in here. It allows you to specify a layer as the alpha channel of the output, bypassing the issue below.
RGB of transparent pixels

GIMP's developers consider the alpha channel to represent transparency, and are not interested in supporting other uses of it. This means that GIMP is quite happy to destroy or ignore RGB color data in pixels with 0% alpha, creating horrendous problems in most 3D engines:
- When the alpha channel is not being used for transparency, visible image data is replaced by jagged-edged areas of pure black
- When alpha is transparency, semi-black borders appear around the edges of materials with sharp edges (a result of realtime GPU filtering)
Fortunately, so long as Layer masks are used the only operation known to trigger the problem in current versions of GIMP (future releases may be different!) is "Merge Layers". As a workaround, consider using "New from Visible" instead.
Usage with GoldSrc

Export settings
GIMP export settings for TGA files
(RLE compression should be disabled for 32-bit images and game icons)GIMP export settings for BMP files
See also
- Gimp VTF Plugin 1.2.1 Download @ TheRaZZeRApp
- Decals in GIMP
- Normal Map Creation in The GIMP