Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/randy408/libspng

Simple, modern libpng alternative
https://github.com/randy408/libspng

spng_decode_scanline(): rename variable

make it clear a separate variable is used and ret isn't set to zero,
that would cause an infinit...

1cb3d225e5aa0692e93fecd510ec2eeb6b282870 authored over 3 years ago by Randy <[email protected]>
testsuite: warning fixes

997408e38c87a5f688bd4b224ba01182f6664e09 authored over 3 years ago by Randy <[email protected]>
added more length checks, warning fixes

fixed MSVC warnings
changed some numeric types
added more length checks (user functions and inte...

640c33d456d85df9b3787e323a31f036a1f7f681 authored over 3 years ago by Randy <[email protected]>
encode_row(): optimize for last pass

8141dc6dba745cc1061cd0ff37b549c4c326583a authored over 3 years ago by Randy <[email protected]>
paeth(): cleanup

d1d5bbe974fe5c1b567a2de4ee4c2aee181eb58e authored over 3 years ago by Randy <[email protected]>
encode: add to_bigendian flag

181cf7573cc914b6650abb6194c0bdc2fdff6657 authored over 3 years ago by Randy <[email protected]>
decode: clean up integer read functions

1dd7e9692001b934818554057120f7c5ae77e484 authored over 3 years ago by Randy <[email protected]>
update README [skip-ci]

0e3200f55c1fd959ef4bc6596c0dfbabc1a7f182 authored over 3 years ago by Randy <[email protected]>
test: set to keep unknown chunks

840a370f1f46592eb1950dd8dd41fc0af5b6610e authored over 3 years ago by Randy <[email protected]>
deduplicate row/scanline iteration

cfa69a79e8d605beeb119f4768991f8518aea66b authored over 3 years ago by Randy <[email protected]>
encode: add progressive image write api

ec43bfa9fe462e2eb0180a0f748c129ed7663d92 authored over 3 years ago by Randy <[email protected]>
test: fix error handling for init_spng()

4d0ef2da3c0aa626aa8fa0d3201663d99faf95b7 authored over 3 years ago by Randy <[email protected]>
add option to configure filter selection

27adb5370102aff288ece9ca4459f4061ae90d20 authored over 3 years ago by Randy <[email protected]>
docs: update errors.md

b02e60e54a337569b6c8f8e190aac35174ce6ff1 authored over 3 years ago by Randy <[email protected]>
fix coverity issue

c429edeae455beae7584798e215f35be48580898 authored over 3 years ago by Randy <[email protected]>
finish 1/2/4-bit interlace support

d0dd4fe56b25bafe84645bf3d85be5749284782f authored over 3 years ago by Randy <[email protected]>
initial filter support, adaptive filtering

e0bec67579c51ff27a3e61c19864709c0e3191f0 authored over 3 years ago by Randy <[email protected]>
add options for text compression

72cc7f18880773b7eb48f2654e1fbaec35aa5cad authored over 3 years ago by Randy <[email protected]>
encode: switch to deflate() for text compression

this makes text compression configurable

eb4bca3b557828dc129a558c93eac63bfb1010bf authored over 3 years ago by Randy <[email protected]>
add iCCP write support, test image with color profile

1e5f1e111bb3be021322eea6e1e672fedf9681b9 authored over 3 years ago by Randy <[email protected]>
rename SPNG_IMG_STRATEGY

ce2da12053c88f0ffb89e88198f621bf1e1ea8e8 authored over 3 years ago by Randy <[email protected]>
encode: init and write_idat_bytes() cleanup

413733b6664840ada4c67b5b37d08fa24c9fcab7 authored over 3 years ago by Randy <[email protected]>
fix compilation issue with miniz

these constants are not defined by miniz

794c872e08849c8b1f41f432eb6a3bbc933b3f9e authored over 3 years ago by Randy <[email protected]>
test: fix PLTE checks

a1df97ff7a80777b44cc3243b965b8b5c982e827 authored over 3 years ago by Randy <[email protected]>
introduce image deflate options

51c2b87c236afa73db6c46e8208f19f6a4b63b1c authored over 3 years ago by Randy <[email protected]>
split off scanline read+defilter step to separate function

19e34755719bb490a5ac15432a85ed1ef05245e7 authored over 3 years ago by Randy <[email protected]>
docs: document SPNG_ARM

98008a94f30c935bd2b16c11752b228679b5a5e1 authored over 3 years ago by Randy <[email protected]>
fuzz: read unknown chunks, cleanup

ca65be2c6e2d2d1a9b407fea8d99b54db05f22f6 authored over 3 years ago by Randy <[email protected]>
docs: add note for spng_set_splt()

705aec10c916885ab89d23dc9134abbcecb4db1e authored over 3 years ago by Randy <[email protected]>
decode: add keep_unknown flag

56933bbf14665ccf9fc700409e7e99dfacfb5de8 authored over 3 years ago by Randy <[email protected]>
test: fix unknown, splt, and text chunk tests

144e5264216bbf4a7c3097aedc8e02fdf953062e authored over 3 years ago by Randy <[email protected]>
decode: don't keep unknown chunks by default

f815656970756429fedb3341e56e0fe84479de3d authored over 3 years ago by Randy <[email protected]>
fuzz: fix sanity checks for spng_get_splt()

9473c48e88246bedb92296267fc8455c0da39e1d authored over 3 years ago by Randy <[email protected]>
api tweaks for stream write support

b1e2d6e55d85675bb09629f1c42756f6761efb0d authored over 3 years ago by Randy <[email protected]>
save location of unknown chunks, expose thru API

0abeec3d04948fed989369311f39cf754ed17eb8 authored over 3 years ago by Randy <[email protected]>
update check_ihdr() with more specific error codes

0a24cca91a423bf04894196e97f8413fefc5795a authored over 3 years ago by Randy <[email protected]>
spng_set_trns(): preserve high bits, refactor

Don't mask off high bits, check for too many
palette indices.

c43d61107ed89ab2a4f421031e1f7eaf1c41945b authored over 3 years ago by Randy <[email protected]>
spng_set_bkgd(): dont copy unrelated values, keep high bits

also fixes an issue where the user's value was modified through the reference

4237d8b00df8d8ee63b379e4e9b656b3eccd3371 authored over 3 years ago by Randy <[email protected]>
encode: check for PLTE when it's required

94e15d6de3d98de2daf6949f0ec76127776e1115 authored over 3 years ago by Randy <[email protected]>
update README

6ad8aea5ed272dfd08c6936c77e23dc29adfbae4 authored over 3 years ago by Randy <[email protected]>
fix oFFs writing (use write_s32())

78f9c57cac3733efdda9a1f40739889765ce919c authored over 3 years ago by Randy <[email protected]>
Initial encode support

* Encode support for all PNG formats, interlacing for >= 8-bit
* Initial chunk write support for...

2aae14963ec588b79574c5b5c14bcdb17f6a4c1e authored over 3 years ago by Randy <[email protected]>
refactor testsuite, compare chunk data

0db82d5f6d4bedc16616517f9f03ad291971aae5 authored over 3 years ago by Randy <[email protected]>
add spng_get_gama_int(), spng_set_gama_int()

bd00bfd8166ae05830dd429f1dd41b7839d97b1b authored over 3 years ago by Randy <[email protected]>
bump version to v0.7.0-rc3

da6a402244530d28a273524e6f9478c984416b09 authored over 3 years ago by Randy <[email protected]>
clean up up indentation for x86 optimizations

952022a3f5fce7bdab64fcbb992e8baf8089d445 authored over 3 years ago by Randy <[email protected]>
refactor indexed color decoding

reduced decode palette to 8 bits to improve compatibility with libpng optimizations
moved 8 -> 1...

4072359aab8f8b1237ff6413cd1d89cb6c96ca95 authored over 3 years ago by Randy <[email protected]>
paeth_arm(): remove abort()

circleci compiles with NEON optimizations as expected

1126a6ca2c12f1b745770a3b603591419028e539 authored over 3 years ago by Randy <[email protected]>
initial circleci integration

also induce an error to confirm NEON optimizations are enabled

87e515f165c4d0601525d8cd7a2d0a1df05d8f16 authored over 3 years ago by Randy <[email protected]>
next release will be v0.7.0-rc2

c3e0eec38f671b0db902d19ab9c94dd65ea5a6b7 authored over 3 years ago by Randy <[email protected]>
test: improve workaround for libpng gamma correction bug

G16 -> RGB(A)8 with gamma correction is buggy with libpng,
skip the failing test cases instead o...

32fa7d54418feeb9a1bde79ea0e4401f7b3138de authored over 3 years ago by Randy <[email protected]>
enable filter optimizations for arm64

5b620fc56ac39b8828246065c2ef3197a71b3192 authored over 3 years ago by Randy <[email protected]>
oversize buffers used for defiltering

fixes issues with NEON optimizations

f115d2887b4c9d706d3bcefff099a9e3eefb32ae authored over 3 years ago by Randy <[email protected]>
fix indentation for arm neon optimizations

2f935c4724482ea31a30d01e775c988506d9e94b authored over 3 years ago by Randy <[email protected]>
fix spng_get_splt()

f8519195f701af8a727feac23dd131631c4f17f2 authored over 3 years ago by Randy <[email protected]>
read_scanline(): initialize next_filter

a335a797b723daa0350ec7a4aef4ff49339304fb authored over 3 years ago by Randy <[email protected]>
unknown chunk support, tests & docs

8ccba20e6a70b9a259dff48ebc0f0b0ce3e3549b authored over 3 years ago by Randy <[email protected]>
adapt NEON filter optimizations

fb888732697016d1dc5697718fdbc49c10473584 authored over 3 years ago by Randy <[email protected]>
bump version to v0.7.0-rc1

1e5c93f71e9dd27b8cc517d1b85342ae858702cf authored over 3 years ago by Randy <[email protected]>
docs: add encode api, updates [skip-ci]

added encode api docs
moved some things from decode.md to context.md and vice versa

95e2f0724e6562b86af9f1f5369e51744676515d authored over 3 years ago by Randy <[email protected]>
test: change input file for example_notext

Interlaced, >8-bit images are causing false
positives with MSan, the previous image
was 1-bit 3...

fc661a8df09f52e654e2b7c0b58671afaccb596a authored over 3 years ago by Randy <[email protected]>
fix miniz.wrap

fa2c990865eaa4f2939bf669a5187021514a1b1a authored over 3 years ago by Randy <[email protected]>
ci: use zlib with msan tests

9d2585c362531b45ecf213b8ff3db2150c250f39 authored over 3 years ago by Randy <[email protected]>
update miniz.wrap

d67a1702c95728b8c0778a12437dc6bce0dfa44e authored over 3 years ago by Randy <[email protected]>
docs: update chunk.md

4a86292fee4099d42430d865d9634618db351103 authored over 3 years ago by Randy <[email protected]>
fix scan-build warning

3a192685194eb3717603035dbe64bbabb74b79d6 authored over 3 years ago by Randy <[email protected]>
expand example.c with encoder api

eede75c90e4ee6c7ed7a69d5f6cdbf70819d2ad5 authored over 3 years ago by Randy <[email protected]>
decode: set unknown chunk location regardless of length

f10126ff932fbe365a2b2c050154e5bd69018299 authored over 3 years ago by Randy <[email protected]>
decode: keep tRNS high bits when parsing

masking off high bits is only necessary for
transparency testing, it should otherwise
be stored ...

eafc9a55c836a85e62e33cb6d9925313ce6e53c0 authored over 3 years ago by Randy <[email protected]>
decode: keep bKGD high bits

the high bits should only be ignored when compositing against a background

2b336d737938807f747701c00540d8b671512145 authored over 3 years ago by Randy <[email protected]>
test: update and add extended tests

dd552d19c36b148c13544770c87fdfe90a929df4 authored over 3 years ago by Randy <[email protected]>
FILE* / stream write support, new context flag

SPNG_CTX_ENCODER is a necessity internally,
it should also make user code more readable.
Not sur...

e2f1663336a0f64d01d875e92e0319b5bd23ab2e authored over 3 years ago by Randy <[email protected]>
spng_ctx_new(): cleanup

cef00cafbf1bb335505bcdd33d98e8c80cbcfea5 authored over 3 years ago by Randy <[email protected]>
test: check unknown chunk location

ada3824c2d28179e20dc56df55927835667fc27c authored over 3 years ago by Randy <[email protected]>
update tests/README.md

130855992831796f45f6e3d93f54cd61fcb796d1 authored over 3 years ago by Randy <[email protected]>
get_best_filter/expand_row(): add missing static keyword

81ef3d46e87b2c2bf6b3d8d28438bdc36336fd45 authored over 3 years ago by Randy <[email protected]>
docs: add spng_set_unknown_chunks()

f6f9fc1a47397c101fb346e9482e48d4ce50f4c3 authored over 3 years ago by Randy <[email protected]>
ignore input buffer for progressive encode

c911c58eaa2f918a914274a484335dde3f52d64e authored over 3 years ago by Randy <[email protected]>
add spng_set_option(), spng_get_option()

add option to configure unknown chunk handling for now

f94c00ee7c69c99e6c0e0b40b75de8873ee2bff6 authored over 3 years ago by Randy <[email protected]>
docs: add section on memory usage [skip-ci]

also moved notes on memory usage from usage.md

de6f83bc641477352de6ff6be08012df024dcfe0 authored over 3 years ago by Randy <[email protected]>
Expand decoder docs (#163) [skip-ci]

573f2db93c2c5fae10f0efab4700e1885b214456 authored over 3 years ago by Randy <[email protected]>
testsuite: improve messages [skip-ci]

24110bb4a0487db83287fabfbcff45550db42774 authored over 3 years ago by Randy <[email protected]>
Improve non-critical error handling (#161)

eeb93f4da8a28212db94c61881ab50e9392bc521 authored over 3 years ago by Randy <[email protected]>
Cleanup for v0.6.3 (#158)

6e22313aeece515160c101577cdd9acff0d52c14 authored over 3 years ago by Randy <[email protected]>
update check_png_keyword()

93b4789e072f3c2f2679cc26229428f66045ae74 authored over 3 years ago by Randy <[email protected]>
fix msvc warnings

944f54e519fea0d31c81b1efdd9f2801a1a582da authored over 3 years ago by Randy <[email protected]>
read_non_idat_chunks(): cleanup

e73157808e4e48505765eeaf651dcaba331f537c authored over 3 years ago by Randy <[email protected]>
read_and_check_crc(): fix typo, read chunk crc every time

119b0532155894e3f8038d26076443d9d139269b authored almost 4 years ago by Randy <[email protected]>
decode: simplify crc action check

24fe7ae27ada7e9e487d865a631b962a2bdb57e4 authored almost 4 years ago by Randy <[email protected]>
spng_decode_scanline/row(): cleanup, add const qualifiers

17a35105a6d66a9e27d7ec0f48c3fd57edca5f7a authored almost 4 years ago by Randy <[email protected]>
work towards making chunk reading resumable

read_non_idat_chunks() will be called in a loop until a certain state is reached,
this will allo...

4721efc8a6bba271ae4d819fe2626d67b3a67247 authored almost 4 years ago by Randy <[email protected]>
clean up packed sample iteration

c50b7445a1db13bc92c5a985d9ca9006a6f64729 authored almost 4 years ago by Randy <[email protected]>
reduce use of memcpy()

66a7f6c84b45f6932bbc1ecd72a5ce41104dae3b authored almost 4 years ago by Randy <[email protected]>
test: check against libpng for presence of metadata (#157)

da306c21d543517f9383bd46d3a4302cc00ac764 authored almost 4 years ago by Randy <[email protected]>
update README [ci-skip]

264476a1521bcb1d526c05ece0ed68b855fcfc4c authored almost 4 years ago by Randy <[email protected]>
README: clarify what spng stands for

1cf2b38665dd44896bc482d8d17e58bf0e867625 authored almost 4 years ago by Randy <[email protected]>
bump version to 0.6.3

1a5270bd3c0f73609444ee414428dea8a15acaae authored almost 4 years ago by Randy <[email protected]>
README: add more OpenCollective stuff [skip-ci]

cd491e6a29d1547d1e8d6a3631899969c5bc54b7 authored almost 4 years ago by Randy <[email protected]>
update README [skip-ci]

e770ff20325757ef3d09d9ace9923b57309e7204 authored almost 4 years ago by Randy <[email protected]>
Merge branch 'master' of https://github.com/randy408/libspng

5be1ba433bd16219f5bf8effe905076943fb0d29 authored almost 4 years ago by Randy <[email protected]>