pyguymer3.image.makePngSrc.createStreamAdaptive¶
- pyguymer3.image.makePngSrc.createStreamAdaptive(arrUint8, arrInt16, /) bytearray[source]¶
Create a PNG image data stream of an image using “adaptive” filtering (as suggested in the PNG specification [2]).
- Parameters:
arrUint8 (numpy.ndarray) – A “height * width * colour” unsigned 8-bit integer NumPy array.
arrInt16 (numpy.ndarray) – A signed 16-bit integer NumPy array copy of
arrUint8.
- Returns:
stream – The PNG image data stream.
- Return type:
Notes
Copyright 2017 Thomas Guymer [1]
References