We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an example how to use the spng_set_png_stream() function?
The text was updated successfully, but these errors were encountered:
One example is the spng_set_png_file() function which is essentially spng_set_png_stream(ctx, file_read_fn, file) where file_read_fn looks like this:
spng_set_png_file()
spng_set_png_stream(ctx, file_read_fn, file)
file_read_fn
libspng/spng/spng.c
Lines 5024 to 5036 in e5c1fc4
For writing file_write_fn is used, it's right after file_read_fn in the same file.
file_write_fn
There is documentation on the read and write callbacks: https://libspng.org/docs/context/#spng_read_fn, https://libspng.org/docs/context/#spng_write_fn
Sorry, something went wrong.
No branches or pull requests
Is there an example how to use the spng_set_png_stream() function?
The text was updated successfully, but these errors were encountered: