:py:mod:`vamtoolbox.dlp.arrayimage` =================================== .. py:module:: vamtoolbox.dlp.arrayimage .. autoapi-nested-parse:: https://github.com/teknohog/pygarrayimage Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: vamtoolbox.dlp.arrayimage.ArrayInterfaceImage .. py:class:: ArrayInterfaceImage(arr, format=None, allow_copy=True) Bases: :py:obj:`pyglet.image.ImageData` .. py:attribute:: data .. py:method:: get_data() .. py:method:: _convert(format, pitch) .. py:method:: _ensure_string_data() .. py:method:: dirty() Force an update of the texture data. .. py:method:: view_new_array(arr) View a new array of the same shape. The same texture will be kept, but the data from the new array will be loaded. :Parameters: `arr` : array data supporting the __array_interface__ protocol. If rank 2, the shape must be (height, width). If rank 3, the shape is (height, width, depth). Typestr must be '|u1' (uint8).