Open MarcusJohnson91 opened 9 years ago
It is not directly supported.
However, there are some helper functions that allow using it. It could be done as follows:
I hope this helps
If I wanted to add support for the sTER chunk, how would I go about doing that?
I could probably get it done within a day, but I only know C, not C++. so classes are magic to me.
I would prefer to not have it in LodePNG, I would like to keep the library focused on one thing, the pure PNG spec.
But it could be implemented as a utility function in lodepng_util.cpp. Thanks to the lodepngchunk... functions, and preprocessing/postprocessing of the image, it doesn't need to be inside the core library.
It's an extension for stereoscopic support in PNG.