Commit Graph

18 Commits

Author SHA1 Message Date
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