File formate and multimedia Flashcards

1
Q

File formate

A

Text file - which contain readable text ex. word-format or XML-format

  • can be edited and viewed on almost every computer
  • difficult when different international character sets (ÅÄÖ, chinese etc.) -> the most important is ASCII
  • HTML (most famous tagged language) - simplified for of SGML (standardized general mark-up language) ex. …. –> documentation purposes
  • XML - more general form of HTML, central documentation platform
  • PARSING - convert the text file into the internal data structure

Binary file - which is not reachable without any interpreting application
- some data structure (RGB colors) are difficult to be stored in a text file and for the compression reason

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Compression

A
  • to optimizing the available memory
  • compression rate should be very high (compressed data should be very good) and the decompressed data should be very good (good accurancy) + the complexity of the algorithm should be low to be fast and simple compress/decompress
  • Types: lossy (reduction of irrelevance - source encoding) and loss-free (reduction of redundancy - entropy encoding = > amount of info in a set of characters), Hybrid compression (both lossy and loss-free), image compression (JPEG,MPEG)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Lossy compression

A
  • not reversible
  • removes barely visible/contain little information
  • some disavantage: noise, lack of definition, loss of color, changes in contrast, brightness, geometric distortions

LEMPEL-ZIV-WELCH (LZW)
- Buffert table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Loss-free compression

A
  • is reversible
  • the original data is kept, removes repeated data (area with same color)

RUN-LENGTH ENCODING: does not exceed a compression with factor 3 –> plays a minor role in compression of videos.
- only suitable for computer-generated data (image data), written text changes frequently -> not containing a long sequence of identical symbols.
Ex 4A3B2C1A FOR AAAABBBCCA

HUFFMAN

  • probability three and entropy, H
  • lower H lower bites – better
  • PREFIX FREE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Audio data

A
  • the sound pressure level and the sound frequency
  • analog: directly recorded on magnetic tapes/discs
  • digital: converted first into a binary signal by analog-digital converter. Benefit: lower noise and higher dynamic range, copies can be made without any losses
  • DIGITALIZATION PROCRESS: 1. sampling –> 2.quantization (complete interval of the measurement value,y-axis is split up into certain amount of sub-intervals)–> 3.Encoding –> 4.PCM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

BMP

A

Bitmap Pictures - data length in bytes

  • it can be output on any screen or printer
  • but it is large files, because does not uses any compression (sometimes RLE)
  • based on RGB-model
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

GIF

A
  • good compression without any losses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

MPEG

A
  • DCT (discrete cosinus transformation): removes high frequency –> softer images
How well did you know this?
1
Not at all
2
3
4
5
Perfectly