Create Anaglyph (GIMP Plugin)
Main page: https://github.com/goto40/create_anaglyph
|
Functions | |
def | layer2array (layer, dtype=None) |
converts a layer to an array. More... | |
def | copy_array_into_layer (data, layer) |
copies an array into a layer. More... | |
def gimpfu_numpy_converter.copy_array_into_layer | ( | data, | |
layer | |||
) |
copies an array into a layer.
(image/layer size must match)
layer | a gimp layer |
data | a numpy array representing the layer (height x width x channels; must match the layers' size/channels). The data is converted into uint8. |
Definition at line 18 of file gimpfu_numpy_converter.py.
def gimpfu_numpy_converter.layer2array | ( | layer, | |
dtype = None |
|||
) |
converts a layer to an array.
layer | a gimp layer |
dtype | the requested output type (optional) |
Definition at line 4 of file gimpfu_numpy_converter.py.