Supported texture formats

This is a list of officially supported texture formats. Generally, the PNG format is the preferred choice due to its lossless compression.

Format Allowed file extensions Remarks
PNG.pngPreferred. Please be aware of the fact that using alpha channels significantly reduces performance when used in scenery objects and train exteriors.
Windows BMP.bmpNot recommended due to large file size.
JPEG.jpg, .jpegNot recommended due to lossy compression (unless not noticable even on large magnification).
GIF.gifNot recommended due to reduced color depth (unless sufficient for the image).

● Sizes of textures
The widths and heights of textures should be a power of two, e.g. 1, 2, 4, 8, 16, 32, 64, 128, 256, and so on. While this is not a requirement, having textures whose sizes are not power-of-two increases loading times, increases storage requirements and introduces blurriness, because these textures have to be converted to a power-of-two size by openBVE.

● PNG file optimization
PNG is a lossless image compression format. As with many other compression formats, the encoder can make a wide range of choices to result in different outcomes - some encoders can produce smaller files, others larger files. Normally, image editing software do not produce the smallest PNG files, which is why there are a number of tools with the sole purpose of squeezing every last bit out of PNG files. You are invited to use such tools in order to further reduce storage requirements. Windows users can use the convenient PNGGauntlet, while others can find a list of tools here (scroll down to 3. PNG (lossless) optimization programs).