asImage

Convert a ndslice object to an Image, with defined image format.

  1. Image asImage(Slice!(kind, packs, T*) slice, ImageFormat format)
    asImage
    (
    SliceKind kind
    size_t[] packs
    T
    )
    (
    Slice!(kind, packs, T*) slice
    ,
    )
  2. Image asImage(Slice!(kind, packs, T*) slice)

Meta