961 Commits

Author SHA1 Message Date
Randy
ab242239f3 rename to spng
libspng = simple png library,
the "v" in vpng didn't stand for anything, it was added to avoid
namespace conflicts.
2018-03-27 13:15:26 +03:00
Randy
f964d2981d get_ancillary_data_first_idat(): cleanup 2018-03-27 11:34:41 +03:00
Randy
e00e26b8bf tRNS: discard non-significant bits when reading 2018-03-27 11:29:54 +03:00
Randy
1c7909b329 Additional output formats (RGBA16, PNG), bugfixes
vpng_get_image_rgba8() -> vpng_decode_image()
vpng_decode_image() has two more args: output format and flags
vpng_decode_image() can output in the new formats (untested)
vpng_get_output_image_size() updated for new formats
fix sampling to target for indexed colour with sBIT present
sampling to target is now done in one place instead of five
2018-03-27 11:14:37 +03:00
Randy
2ee237b0b2 example.c: take filename from argv, print image info 2018-03-22 06:55:41 +02:00
Randy
e95ddddfc5 example.c: fix pointer type 2018-03-22 05:17:51 +02:00
Randy
45c0251cee test_vpng: fix error handling for get_ihdr 2018-03-21 08:41:55 +02:00
Randy
c33819e569 add .gitignore 2018-03-21 08:04:29 +02:00
Randy
6ab790c72d change output image pointer type to unsigned char* 2018-03-21 07:57:03 +02:00
Randy
d5336f5a24 Add LICENSE 2018-03-17 06:54:01 +00:00
Randy
9a38557133 Initial commit 2018-03-17 08:44:38 +02:00