[기타]무료 무손실 이미지 포맷 FLIF
페이지 정보
1,771 2015.10.03 09:21
본문
FLIF - Free Lossless Image Format
FLIF is a novel lossless image format which outperforms PNG, lossless WebP, lossless BPG and lossless JPEG2000 in terms of compression ratio.
According to the compression experiments we have performed, FLIF files are, on average:
- 26% smaller than brute-force crushed PNG files,
- 35% smaller than typical PNG files,
- 37% smaller than lossless JPEG 2000 compression,
- 15% smaller than lossless WebP,
- 22% smaller than lossless BPG.
Even if the best image format was picked out of PNG, JPEG 2000, WebP or BPG for a given image, depending on the type of image (photograph, line art, etc), then FLIF still beats that by an average of 10% in our comparisons.
Advantages
Here are some of the key advantages of FLIF:
Best compression
The results of a compression test similar to the WebP study are shown below. FLIF clearly beats other image compression algorithms.
Works on any kind of image
FLIF does away with knowing what image format performs the best at any given task.
You are supposed to know that PNG works well for line art, but not for photographs. For regular photographs where some quality loss is acceptable, JPEG can be used, but for medical images you may want to use lossless JPEG 2000. And so on. It can be tricky for non-technical end-users.
More recent formats like WebP and BPG do not solve this problem, since they still have their strengths and weaknesses.
FLIF works well on any kind of image, so the end-user does not need to try different algorithms and parameters. Here is a selection of different kinds of images and how each image format performs with them. The conclusion? FLIF beats anything else in all categories.
Here is an example to illustrate the point. On photographs, PNG performs poorly while WebP, BPG and JPEG 2000 compress well (see plot on the left). On medical images, PNG and WebP perform relatively poorly while BPG and JPEG 2000 work well (see middle plot). On geographical maps, BPG and JPEG 2000 perform (extremely) poorly while while PNG and WebP work well (see plot on the right). In each of these three examples, FLIF performs well — even better than any of the others.
Progressive and lossless
FLIF is lossless, but can still be used in low-bandwidth situations, since only the first part of a file is needed for a reasonable preview of the image.
Other lossless formats also support progressive decoding (e.g. PNG with Adam7 interlacing), but FLIF is better at it. Here is a simple demonstration video, which shows an image as it is slowly being downloaded:
Lossy compression is useful when network bandwidth or diskspace are limited, and you still want to get a visually OK image. The disadvantages of lossy compression are obvious: information is lost forever, compression artifacts can be noticeable, and transcoding or editing can cause generation loss. With better compression, the need to go there is lessened.
Here is an example to illustrate the progressive decoding of FLIF, compared to other methods.
Responsive by design
A FLIF image can be loaded in different ‘variations’ from the same source file, by loading the file only partially. This makes it a very appropriate file format for responsive web design.
Read more about FLIF and Responsive Web Design
No patents, Free
Unlike some other image formats (e.g. BPG and JPEG 2000), FLIF is completely royalty-free and it is not encumbered by software patents.
FLIF is Free Software. It is released under the GNU General Public License (GPL) version 3 or any later version. That means you get the “four freedoms”:
- The freedom to run the program, for any purpose.
- The freedom to study how the program works, and adapt it to your needs.
- The freedom to redistribute copies.
- The freedom to improve the program, and release your improvements to the public, so that the whole community benefits.
Moreover, FLIF is free of charge (gratis).
Download
WARNING: FLIF is a work in progress. The format is not finalized yet. Any small or large change in the algorithm will most likely mean that FLIF files encoded with an older version will no longer be correctly decoded by a newer version. Keep this in mind.
Features
FLIF currently has the following features:
- Lossless compression
- Greyscale, RGB, RGBA
- Color depth: up to 16 bits per channel (high dynamic range)
- Interlaced (default) or non-interlaced
- Interlaced files can be decoded quickly at lower quality/resolution (“Responsive By Design”)
- Progressive decoding of partially downloaded files
- Animation support
- Encoding and decoding speeds are not blazingly fast, but they are in the right ballpark
TODO list
FLIF does not yet support the following features:
- Metadata (EXIF, ICC profiles, XMP, ...)
- Other color spaces (CMYK, YCbCr, ...)
- Lossy compression
- Web browser support
- A highly optimized implementation
Technical information
FLIF is based on MANIAC compression. MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding) is an algorithm for entropy coding developed by Jon Sneyers and Pieter Wuille. It is a variant of CABAC (context-adaptive binary arithmetic coding), where instead of using a multi-dimensional array of quantized local image information, the contexts are nodes of decision trees which are dynamically learned at encode time. This means a much more image-specific context model can be used, resulting in better compression.
Moreover, FLIF supports a form of progressive interlacing (essentially a generalization/improvement of PNG's Adam7 interlacing) which means that any prefix (e.g. partial download) of a compressed file can be used as a reasonable lossy encoding of the entire image. In contrast to other interlacing image formats (e.g. PNG or GIF), interlaced FLIF encoding takes the interlacing into account in the pixel estimation and in the MANIAC context model. As a result, the overhead of interlacing is small, and in some cases (e.g. photographs) interlaced FLIF files are even smaller than non-interlaced ones.
글쓴이 명함
nepo 회원등급 : 최고관리자 포인트 : 301,049
Progress Bar 59%
-
비 내리는 5월 16일
.
nepo 2025-05-16 22:30 10 -
2024 후반 서울 첫눈-관악구
.
nepo 2024-11-27 21:45 78 -
관악산
.
nepo 2024-09-22 17:47 82 -
63빌딩의 저녁
.
nepo 2024-09-15 19:33 87 -
하늘 달 구름 산 그리고 건물
.
nepo 2024-09-14 18:56 82 -
아카시 향기 속 관악 야경
.
nepo 2024-05-04 22:14 79 -
아카시 꽃
해마다 보는 아카시 꽃
nepo 2024-05-03 10:42 74 -
비온 후의 신록
.
nepo 2024-04-24 12:12 77 -
가까이 그리고 멀리서 본 북한산
.
nepo 2024-03-26 20:28 83 -
백운대 눈꽃
.
nepo 2024-02-24 02:04 90
-
귀엽습니다~ nepo 2022-12-07 00:12
-
곰팡이색이 검은색이 아니고 흰색이라 곰팡이만 걷어내고 먹으면 된다고 합니다. 냉장 보관하시… 안알랴줌 2022-08-19 18:21
-
너무 방치히는거 아닌가요? ? 도메인이 만료되기 전에 연장하라는 메일이 갈텐데? 안알랴줌 2022-06-28 17:03
-
점점 고물이 되어가는 모든것과 함께 아직은 즐거운 마음으로 삽니다 ㅎㅎ † ЌûỲắـĶĬΣ 2022-06-26 07:04
-
오오! Kuyakim님 오랜만입니다! 먼 타지에서 건강히 잘 지내시는지요 :) 풀림 2022-06-25 23:21
-
그런 카페가 한두곳이 아니죠 쓴소린 듣기 싫고 그런~ † ЌûỲắـĶĬΣ 2022-06-22 10:08
-
수고 많았네요^^ nepo 2022-06-22 00:29
-
허헛. 오랜만에 접속해보니 도메인이 죽어있어서 부랴부랴 살렸습니다. nepo님께 따로 연락… 풀림 2022-06-21 23:31
-
에구 너무 속상하시겠어요...ㅠㅠ 풀림 2022-06-21 23:30
-
제가 수정했습니다^^ nepo 2022-01-06 00:56
Ranking
-
01 안알랴줌241,207
-
02 † ЌûỲắـĶĬΣ214,573
-
03 봉자아범200,485
-
04 한댜139,334
-
05 고슴도치132,659
-
06 날좋은날예쁘게108,482
-
07 viva103,258
-
08 물빛102,791
-
09 돌팔매76,544
-
10 fomosan45,265
-
01 † ЌûỲắـĶĬΣ56,396
-
02 안알랴줌38,589
-
03 한댜38,235
-
04 고슴도치35,039
-
05 물빛28,982
-
06 돌팔매27,560
-
07 봉자아범20,346
-
08 fomosan18,529
-
09 강달프17,013
-
10 오키드15,321
댓글목록
한댜님의 댓글
오호 좋은데요...? ㅎㅎㅎ
축하합니다. 첫댓글 포인트 2포인트를 획득하였습니다.