dds, png, jpg which is the best

General discussion about Celestia that doesn't fit into other forums.
Topic author
guest

dds, png, jpg which is the best

Post #1by guest » 18.05.2002, 13:56

Can anybodey explain how to convert between dds, jpg and png files.

Can you also explain which format is the best or takes up less memory?

thanks

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

dds, png, jpg which is the best

Post #2by t00fri » 18.05.2002, 14:20

guest wrote:Can anybodey explain how to convert between dds, jpg and png files.

Can you also explain which format is the best or takes up less memory?

thanks


jpg: is a lossy format, the price for its high compress rate. I.e. if you save a file as a jpg and load it again, the quality has deteriorated. But for textures without transparency information it is quite ok.

png (and tiff, tga (<= targa): are popular lossless formats with an additional advantage that they can carry an 'alpha' layer that may be used to characterize transparency, altitude info etc.

dds (DXTn): exists in a number of varieties and is a hardware compressed format with varying compession rates (8:1 for rgb (no alpha) and 4:1 with 8bit alpha)
So here the high speed of decompression and good packing is the main issue.

The conversion from tga,... to dds may be done under windows by means of NVIDIA's nvdxt tools that you may download from NVIDIA's developer site. There is also a plugin for Photoshop available.

Bye Fridger


Return to “Celestia Users”