Commit Graph

59 Commits

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