Bitmap Exports

In the provided plugins all bitmaps are exported by default as PNG files with 24-bit colour and an alpha channel for the transparency.

This can be overwridden when exporting individual lumps, but note that transparency information will be lost if exported as other file types.

Also note that if exported as a GIF then .NET will try and reduce the generated 32-bit image (all images are manipulated as 32-bits inside WADMangle) to a paletted 8-bit image. It makes a real mess of this, so don't bother.


Bitmap Imports

When importing bitmaps different things will happen depending on the depth and format of the file.

8-bit indexed formats

These rules apply to 8-bit bmp, png and gif files.

When importing 8 bit files then the colours are expected to be drawn in the same palette as defined in the currently loaded WAD files, or the default DOOM II palette if no PLAYPAL lump is found.

Transparency: While technically it is incorrect, files in this format are process assuming that colour 247 is transparent to maintain consistency with other DOOM WAD manipulation tools.

24-bit formats

These rules apply to 24-bit bmp, png and jpg files. Note that JPEG is not recommended for importing hand drawn textures as it is a lossy format.

When importing true colour files then the colours in the bitmap are matched to the closest matching colour in the palette as defined in the currently loaded WAD files, or the default DOOM II palette if no PLAYPAL lump is found.

Transparency: Transparency cannot be used with this format.

32-bit (alpha) formats

These rules apply to 32-bit png files.

When importing true colour files then the colours in the bitmap are matched to the closest matching colour in the palette as defined in the currently loaded WAD files, or the default DOOM II palette if no PLAYPAL lump is found.

Transparency: Transparency is supported through the alpha channel. Any pixels with an alpha of zero are considered transparent.


$Id: bitmaps.html,v 1.2 2005/05/31 22:15:00 ianc Exp $