Commit Graph

117 Commits

Author SHA1 Message Date
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
Dominic Szablewski
a902b57ede Announce changes in the file format 2021-11-27 13:21:16 +01:00
Dominic Szablewski
ee66591452
Merge pull request #32 from pfusik/utf8
Avoid UTF-8
2021-11-27 00:26:06 +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
30f8a39ec8 Fix qoibench avg calculation: ignore non-png entries 2021-11-25 15:14:56 +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
324c2243b2 Add warning about untrusted input; #4 2021-11-24 22:28:35 +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
de17b3c2c1 Fix compile instructions 2021-11-24 11:19:49 +01:00
Dominic Szablewski
19dc63cf17 Initial 2021-11-24 11:07:17 +01:00