View Source Vix.Tensor (vix v0.11.0)

Struct to hold raw pixel data returned by the Libvips along with metadata about the binary.

Useful for interoperability between different libraries. See Vix.Vips.Image.write_to_tensor/1

Link to this section Summary

Link to this section Types

@type t() :: %Vix.Tensor{data: term(), names: term(), shape: term(), type: term()}

Link to this section Functions

Link to this function

binary_to_tensor(binary, size, image)

View Source