May 20, 2019

Archive vs Compression. Same but different



Archive: store. collect.
Compress: Press down. summarize.

아카이브(Archive): 보관하다. 수집하다.
압축(Compress): 누르다. 요약하다.

Common point: Collect one or more files. → You can bundle and store related data.

공통점: 하나 이상의 파일을 모아둔다. → 관련 있는 데이터들을 묶어 보관 및 전송 할 수 있다.

Different point: The archive does not compress the contents. That is, the file size does not decrease.

차이점: 아카이브는 내용을 압축하지 않는다. 즉, 파일 크기가 줄어들지 않는다.

The archive file can be compressed, but not necessarily compressed.

아카이브 파일을 압축할 수는 있지만, 반드시 압축해야 하는 것은 아니다.

Compression is divided into lossy compression and lossless compression according to the method.

압축은 그 방식에 따라, 손실 압축과 무손실 압축으로 구분된다.

lossy compression: How data is compressed by removing the original data.
lossless compression: How data is compressed by keeping the original data.

손실 압축: 원본 데이터를 제거하여 데이터를 압축하는 방식.
무손실 압축: 원본 데이터를 유지하며 데이터를 압축하는 방식.

Compression can be thought the general compression combined through a compression program, but in fact more often used in video/audio/images.

압축이라고 하면 압축 프로그램을 통해 합쳐진 일반 압축이 떠오르지만, 사실 영상/오디오/이미지에서 더 자주 사용된다.

For example, the lossy compression format includes mp3, jpeg, mpeg(H.264), and the lossless compression format includes such as gif and png.

예를 들어, 손실 압축 포맷에는 mp3, jpeg, mpeg(H.264) 등이 있고, 무손실 압축 포맷에는 gif, png 등이 있다.

Lossy compression is a method that removes parts that humans can not perceive (such as frequency bands that humans can not hear), so it is inappropriate for data archiving purposes, but it may be suitable for video etc. that can be partially lost.

손실 압축은 인간이 인지하지 못하는 부분(인간이 못 듣는 주파수 대역 등)을 제거하는 방식이기에, 데이터 보관 용도로는 부적합하지만, 반대로 일부를 손실해도 괜찮은 영상 등의 경우에는 적합할 수 있다.

Famous file formats
유명 파일 형식

Archive
아카이브
.tar
.jar

General compression
일반 압축
.z
.Z
.gz
.zip
.bz2
.rar
.7z