GIMP: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed link to the gimp layer masks page.)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(18 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Image:Gimp Wilber.png|right|GIMP's mascot, Wilber]]
[[File:Gimp Wilber.png|right|GIMP's mascot, Wilber]]


'''GIMP''' (GNU Image Manipulation Program) is a free and open source image editor. [http://gimp.org/ Download it from gimp.org].
{{gimp|4}} ({{gimp|3|nt=1}}) is a free and open source image editor. [http://gimp.org/ Download it from gimp.org], or from the Microsoft Store for {{win|4}} systems.


{{bug|If you find that GIMP keeps scanning for fonts whenever it starts, download [http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/fontconfig-2.4.2-tml-20071015.zip fontconfig 2.4.2] and extract to <code>C:\Program Files\GIMP-2.0\</code>.}}
{{bug|hidetested=1|If you find that GIMP keeps scanning for fonts whenever it starts, download [http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/old/fontconfig-2.4.2-tml-20071015.zip fontconfig 2.4.2] and extract to <code>C:\Program Files\GIMP-2.0\</code>.}}


== Usage with Source ==
== Usage with Source ==


=== VTF ===
=== VTF support ===


There is currently no VTF plug-in for GIMP. Save as TGA instead, [[Creating a Material|then import]].
[[File:Gimp vtf opt.png|250px]]


=== RGB of transparent pixels ===
[https://github.com/Artfunkel/gimp-vtf/releases 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.


GIMP's developers consider the alpha channel to be transparency. Source (and DirectX/OpenGL in general) generally don't.
== Usage with GoldSrc ==


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. Aside from the obvious lack of color information, the behaviour leads to the "halos" sometimes seen around the edges of filtered materials.
{{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.}}


So long as [http://docs.gimp.org/2.6/en/gimp-dialogs-structure.html#gimp-layer-mask Layer masks] are used, in current versions of GIMP the only operation known to trigger the problem is the Merge Layers command. Unfortunately it's used almost every time one exports some work!
=== 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 ==


* [http://therazzerapp.de/tools/gimp_vtf_plugin.html Gimp VTF Plugin 1.2.1] Download @ TheRaZZeRApp
* [[Decals in GIMP]]
* [[Decals in GIMP]]
* [[Normal Map Creation in The GIMP]]
* [[Normal Map Creation in The GIMP]]
 
{{sdktools|0}}
[[Category:Third Party Tools]]
[[Category:Third Party Tools]]
[[Category:Material System]]
[[Category:Material System]]
[[Category:GIMP]]
[[Category:GIMP]]
[[Category: Third Party Source 2 Tools]]

Latest revision as of 07:13, 20 May 2025

GIMP's mascot, Wilber

GIMP GIMP (GNU Image Manipulation Program) is a free and open source image editor. Download it from gimp.org, or from the Microsoft Store for Windows Windows systems.

Icon-Bug.pngBug:If you find that GIMP keeps scanning for fonts whenever it starts, download fontconfig 2.4.2 and extract to C:\Program Files\GIMP-2.0\.

Usage with Source

VTF support

Gimp vtf opt.png

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.

Usage with GoldSrc

Warning.pngWarning: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

See also