Image conversion guides

Export and verify a Targa texture

·

Export Targa raster artwork with transparent edges. Check the preview orientation and apply any rotation or flip before exporting the Targa file.

Image to TGA

Check orientation with asymmetric artwork

Use a 65 × 41 texture with a blue mark at the top left and a red mark at the bottom right. Export with no rotation and check those positions in a Targa reader. Rotate it 90 degrees clockwise and the blue mark moves to the top right of the 41 × 65 image.

Library of Congress TGA format description

Inspect the alpha channel separately

An opaque viewer background can hide a transparent edge. Composite the TGA over a light color and then a dark one. A half-transparent green pixel should blend with both backgrounds. An opaque pixel should keep its own green.

Separate flipped rows from flipped texture coordinates

Open the TGA in an image viewer, then import it into the actual material. If a corner marker is in the expected position in the image viewer but appears inverted on the mesh, check the texture-coordinate convention in the importer before rotating the artwork.

Test alpha on a contrasting surface. A black backdrop in a thumbnail can be the viewer’s transparency display. If the material stays opaque, inspect its alpha setting and the file’s decoded alpha channel.

Common questions

Why can the same TGA appear upside down in two programs?

Targa has origin information in its image descriptor. Check how the consumer interprets the origin before applying a permanent flip to your source.

What happens if the source is a portrait HEIC?

The converter reads the primary still photo and resolves its orientation before applying your chosen transform and writing the TGA.

Sources

Put it into practice.

Related guides