pyguymer3.image.makePngSrc.createStreamNone

pyguymer3.image.makePngSrc.createStreamNone(arrUint8, arrInt16, /) bytearray[source]

Create a PNG image data stream of an image using no filtering (as defined 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:

bytearray

Notes

Copyright 2017 Thomas Guymer [1]

References