Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As we know PNG image format being the lossless format for image files. Compared to lossless audio file formats such as FLAC for example: When I decompress it, I get uncompressed .WAV file format.

So I'm wondering which uncompressed format does PNG compresses? Is it the Bitmap file format?

share|improve this question
PNG succeeded GIF as an open-source alternative. I think both compress BMP or TIFF – Raystafarian Feb 5 '12 at 0:58
up vote 7 down vote accepted

FLAC is not compressed .WAV.

  • FLAC is a format that stores and compress digital waveforms (PCM) without loss.
  • WAV is a format that store PCM data without compression.

What I'm saying is that when you uncompressed a FLAC, you're not magically getting a .WAV file. Rather, the program you're using is decoding the PCM data and writing it back into the .WAV format just because it's the most common format. Since both formats are lossless, there's no loss in this transition, but the PCM waveform could just as well be written back to other lossless formats: such as Apple AIFF and CD audio.

Due to the age and popularity of the .WAV format in both consumer and professional, it just happens - by tradition and device support - to be lowest common denominator format, but wouldn't necessarily have to be.

I hope this provides a new angle to your question.

Similarly, a lossless image is a raster graphic, or bitmap, but bitmap data is not necessarily linked to the .BMP format, which is just specific way for storing bitmap data. Just like .WAVs, the popular usage of BMP mainly derive out of their simplicity (well documented, don't support lossy content, etc), and having been around for a while.

Other common lossless formats that are also uncompressed include:

  • TIFF has been around for a long time in business applications, but it is a more flexible/complex format that can be both lossy and lossless
  • RAW which is found in many digital cameras can also be lossless.

In summary, there are no original format for either "audio" or "image" data, anyone could store it anyway they wish. What we have are common file formats and softwares that know how to translate between them.

To answer your question, it seems .BMP is not as much the de facto standard that .WAV got the be in the audio world. Whether the uncompressed format of choice is BMP, TIFF or RAW (or others) will depend on the type of application/business.

share|improve this answer
Thanks for a nice answer. So is .WAV both a compressed and lossless format as is .BMP apparently? – user1032421 Feb 5 '12 at 1:43
You're welcome. If you meant ".WAV is both an UNcompressed and lossless as is .BMP", then yes. – mtone Feb 5 '12 at 1:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .