Commit Graph

177 Commits

Author SHA1 Message Date
Dominic Szablewski
2f255c7aff Enforce a limit of 400 million pixels, 2GB file size 2021-12-16 20:12:27 +01:00
Dominic Szablewski
11dbe1e6aa Add clang fuzzing harness. Thanks @landaire 2021-12-16 20:02:37 +01:00
Dominic Szablewski
ae07396158 Avoid UTF-8 in comments... again. 2021-12-14 21:34:33 +01:00
Dominic Szablewski
0112e3d555 Whitespace, cosmetics 2021-12-14 20:54:37 +01:00
Dominic Szablewski
296f0ef840
Merge pull request #86 from chocolate42/conv-channels
Force rarer PNG encodings to be read by qoiconv as RGBA
2021-12-14 19:19:41 +01:00
Dominic Szablewski
85078d89d6
Merge pull request #85 from chocolate42/bench-channels
Fix qoibench handling of RGB input
2021-12-14 19:19:33 +01:00
Dominic Szablewski
91cc726583 Mention Java implementation; close #59 2021-12-13 17:44:24 +01:00
anon
525f32cefe Convert all non-RGB and non-RGBA input to RGBA. 2021-12-13 16:34:39 +00:00
Dominic Szablewski
873cba791d Merge branch 'schar' 2021-12-13 17:25:55 +01:00
Dominic Szablewski
3973c549dc Remove single line comments to conform to c89 -pedantic 2021-12-13 17:23:04 +01:00
Dominic Szablewski
5983658ad4 Whitespace, wording 2021-12-13 17:16:22 +01:00
anon
b743409e06 Fix qoibench to feed RGB input to the encoders when the source image is RGB. Fix rate calculation by having the raw size of RGB input be w x h x 3 instead of w x h x 4. 2021-12-13 15:27:11 +00:00
Ozkan Sezer
2aaba8da96 make qoi.h build using c89 compilers.
also add a QOI_ZEROARR macro, wrapping around memset by default.
2021-12-13 15:56:56 +03:00
Dominic Szablewski
6a95206e35
Merge pull request #84 from xfmoulet/master
Force a RGB source to have an alpha of 255
2021-12-13 11:24:59 +01:00
Xavier-Frédéric Moulet
99fa97792f Revert "Zero-initialize previous pixel color"
This reverts commit 075ab8fe42.
Closes #30
2021-12-13 11:18:41 +01:00
Ozkan Sezer
8c77fad340 change char local vars to signed char
this accomodates toolchains where char type is unsigned by default.
2021-12-11 21:03:37 +03:00
Dominic Szablewski
2ee2169e02
Merge pull request #80 from 0xd34df00d/patch-1
Add a Haskell implementation
2021-12-11 17:29:28 +01:00
0xd34df00d
ba5c1711c7
Add a Haskell implementation 2021-12-11 11:22:41 -05:00
Dominic Szablewski
e76f25a606 Ignore stb dependencies and build artifacts 2021-12-11 15:49:14 +01:00
Dominic Szablewski
199362ed1d Add note about current specification 2021-12-11 15:48:01 +01:00
Dominic Szablewski
6310d49ee8 Merge branch experimental 2021-12-11 15:46:13 +01:00
Dominic Szablewski
c2edcd3d7a Cosmetics 2021-12-11 12:54:01 +01:00
Dominic Szablewski
0ad304d761 Be more specific with the documentation of the file format 2021-12-10 21:31:28 +01:00
Dominic Szablewski
075ab8fe42 Zero-initialize previous pixel color 2021-12-10 20:09:52 +01:00
Dominic Szablewski
03c7ab14d4
Merge pull request #66 from NUlliiON/master
Mention QOI implementation written in C#
2021-12-08 22:47:40 +01:00
Dominic Szablewski
d9518a9426
Merge branch 'master' into master 2021-12-08 22:47:32 +01:00
Dominic Szablewski
8f9c24a5e9
Merge pull request #74 from elihwyma/patch-1
Add Swift Implementation
2021-12-08 22:46:43 +01:00
Dominic Szablewski
f49dcc074d
Merge branch 'master' into patch-1 2021-12-08 22:46:35 +01:00
Dominic Szablewski
a19e0810e6
Merge pull request #68 from rbino/add-qoix
Add Elixir implementation (Qoix) to the implementations section
2021-12-08 22:45:54 +01:00
Amy While
473e467e7b
Add Swift Implementation 2021-12-08 20:22:16 +00:00
Dominic Szablewski
2103168519 Minor encoding throughput improvement 2021-12-08 15:45:18 +01:00
Dominic Szablewski
6a73cc65c5 Wording, whitespace 2021-12-08 15:45:10 +01:00
Dominic Szablewski
92f7ebd3f8 Fix qoi_desc colorspace check 2021-12-08 15:30:56 +01:00
Dominic Szablewski
6c83cf2e0c Increase padding to 8 zero-bytes 2021-12-08 15:29:46 +01:00
Dominic Szablewski
947941fbd0 Change colorspace header to an enum to avoid confusion 2021-12-08 14:14:51 +01:00
Dominic Szablewski
d6b1ec673a Add alpha channel to QOI_HASH 2021-12-08 11:30:58 +01:00
Dominic Szablewski
eb29269432 Fix typo in documentation 2021-12-08 11:25:24 +01:00
Dominic Szablewski
28954f7a9a Remove QOI_DIFF_16 and QOI_DIFF_24; better tagging of remaining ops; better hash function 2021-12-06 21:23:13 +01:00
Dominic Szablewski
66d12eb078 Add option to only print directory totals 2021-12-06 19:55:39 +01:00
Dominic Szablewski
f45f47c9f0 Recursive traversal; compression ratio; grand total; options to disable some features 2021-12-06 13:35:54 +01:00
Riccardo Binetti
259a3a36a0 Add Elixir implementation (Qoix) to the implementations section 2021-12-06 02:46:44 +01:00
Eugene
ce32dfed6e Mention QOI implementation written in C# 2021-12-05 14:23:24 -06:00
Dominic Szablewski
5039ebd678
Merge pull request #57 from zakarumych/master
Mention rapid-qoi implementation written in Rust
2021-12-05 11:24:12 +01:00
Dominic Szablewski
f6f05835c5
Merge pull request #62 from nsauzede/patch-1
Fix typo in DIFF8 documentation
2021-12-05 11:23:42 +01:00
Dominic Szablewski
8054316d78
Merge pull request #65 from kodonnell/master
Add link in readme to kodonnell/qoi (Python)
2021-12-05 11:23:20 +01:00
kodonnell
bd7d5c07bb
Add link in readme to kodonnell/qoi (Python) 2021-12-05 22:18:49 +13:00
Nicolas Sauzede
03606a0be7
Fix typo in DIFF8 documentation 2021-12-03 01:24:52 +01:00
Zakarum
2392a3423c Mention rapid-qoi implementation written in Rust 2021-12-01 17:48:53 +03:00
Dominic Szablewski
cbb62ea555 Remove QOI_RUN_16, add new QOI_GDIFF_16 op 2021-11-30 22:05:03 +01:00
Dominic Szablewski
e9069e11a4 Add notice about the format being not yet finalized 2021-11-30 17:45:48 +01:00