Image conversion guides

Move indexed artwork and transparent sprites into PNG

·

Save rendered artwork as lossless PNG images. Check the orientation and transparent edges in the previews.

Image to PNG

Inspect a sprite with an asymmetric mark

Suppose a 65 × 41 Targa sprite has a green mark at the top right. With no rotation, the PNG should still be 65 × 41 with the mark in that corner. A 90-degree clockwise turn produces a 41 × 65 image with the mark at the bottom right.

Inspect colors and transparency separately

A PCX palette maps numeric pixel indices to colors. Compare a few known swatches in the PNG to the displayed PCX colors. For a transparent Targa, place the exported PNG on both dark and light backgrounds to reveal partially transparent pixels.

Keep the source when PNG captures only one view

A PNG of a layered Photoshop document contains the rendered composite. Toggle a layer in the original editor and compare with the saved preview if the PNG shows an unexpected background. Update the original composite or export the desired layer on transparency.

For a palette-based sprite, sample the decoded color in the PNG. Matching RGB and alpha is a check on appearance. Applications that need the original palette indices should keep the indexed source.

Library of Congress TGA format description

Common questions

Will converting a JPEG to PNG remove compression artifacts?

JPEG artifacts are already part of the decoded image. PNG stores those rendered pixels losslessly.

What happens to high-bit-depth sources?

The workspace renders to 8-bit color and alpha channels. Keep the source file for high-bit-depth editing.

Sources

Put it into practice.

Related guides