Dominic Szablewski
|
52051a310f
|
Documentation: clarify alpha handling for certain chunk types; close #105
|
2021-12-21 18:05:30 +01:00 |
Dominic Szablewski
|
438c1e918f
|
Fix typo in documentation
|
2021-12-20 16:17:25 +01:00 |
Dominic Szablewski
|
f752c1a978
|
Clarify pixel order and image completeness
|
2021-12-20 11:56:19 +01:00 |
Dominic Szablewski
|
013cfa1ecd
|
Wording
|
2021-12-20 11:47:04 +01:00 |
Dominic Szablewski
|
e276f58931
|
Remove obsolete padding specification; already specified above; #96
|
2021-12-20 11:38:09 +01:00 |
Dominic Szablewski
|
4bc071df78
|
Fix bias for run-length in the documentation
|
2021-12-19 23:14:08 +01:00 |
Ozkan Sezer
|
4ca3d3ae42
|
minor fix for sign-compare warnings.
|
2021-12-17 01:12:20 +03:00 |
Dominic Szablewski
|
3a62cabad2
|
Change padding bytes to a unique stream-end marker; #89
|
2021-12-16 20:50:19 +01:00 |
Dominic Szablewski
|
bf6951036d
|
Fix check for valid colorspace
|
2021-12-16 20:13:52 +01:00 |
Dominic Szablewski
|
2f255c7aff
|
Enforce a limit of 400 million pixels, 2GB file size
|
2021-12-16 20:12:27 +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
|
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 |
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 |
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
|
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
|
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
|
cbb62ea555
|
Remove QOI_RUN_16, add new QOI_GDIFF_16 op
|
2021-11-30 22:05:03 +01:00 |
Dominic Szablewski
|
94974653c1
|
Lock output file before writing; close #18
|
2021-11-28 17:59:51 +01:00 |
Dominic Szablewski
|
9dd60534e4
|
Use local var for channels to speed up encoding
|
2021-11-28 17:36:47 +01:00 |
Dominic Szablewski
|
80356a5aaa
|
Improve documentation, whitespace, wording
|
2021-11-28 17:36:05 +01:00 |
Dominic Szablewski
|
f0a38c19e5
|
Merge pull request #44 from Samyak2/samyak-typo-fix-1
Fix a typo: "user" -> "use"
|
2021-11-28 12:32:14 +01:00 |
Samyak S Sarnayak
|
8ebd4e7b6d
|
Fix a typo: "user" -> "use"
|
2021-11-28 16:18:55 +05:30 |
Felix "xq" Queißner
|
ef9ce10bc1
|
Adds wraparound specification
|
2021-11-28 01:17:24 +01:00 |
Felix "xq" Queißner
|
7053672d3a
|
Starts to improve the documentation.
|
2021-11-28 01:08:52 +01:00 |
Dominic Szablewski
|
be8d23c574
|
Merge pull request #31 from vec4f/bug/qoi_read/fclose
Close file on allocation failure in `qoi_read()`
|
2021-11-27 21:04:16 +01:00 |
Dominic Szablewski
|
5506399e0d
|
Fix HEADER_SIZE for the new header
|
2021-11-27 18:41:02 +01:00 |
Dominic Szablewski
|
ff542c2ae6
|
Change the API to supply/return channel count and colorspace info
|
2021-11-27 18:36:17 +01:00 |
Dominic Szablewski
|
697abf6696
|
Align the data format with new spec #37
|
2021-11-27 17:23:52 +01:00 |
Piotr Fusik
|
344ba65a57
|
Avoid UTF-8
|
2021-11-26 22:51:22 +01:00 |
Brad Fish
|
7b1567cc9d
|
Close file on allocation failure
|
2021-11-26 12:28:49 -08:00 |
Dominic Szablewski
|
dd0b04b319
|
Fix #22: avoid UB when reading ints from the stream;
|
2021-11-26 13:22:00 +01:00 |
Dominic Szablewski
|
81b438cb56
|
Change header to big endian; make it independent from host byte order; close #10
|
2021-11-25 13:51:05 +01:00 |
Dominic Szablewski
|
c03edb2f26
|
Fix naming of chunks in the data format documentation; close #9
|
2021-11-25 09:43:11 +01:00 |
Dominic Szablewski
|
e969322d00
|
Don't run past the padding of the byte stream when decoding; re #4
|
2021-11-24 22:09:08 +01:00 |
Dominic Szablewski
|
19dc63cf17
|
Initial
|
2021-11-24 11:07:17 +01:00 |