var h5im = require('hdf5').h5im;

Attributes @deprecated

  • width - horizontal pixel dimension
  • height - vertical pixel dimension
  • planes - color channels
  • interlace - The method the channels are stored; Can be “INTERLACE_PIXEL” or “INTERLACE_PLANE” Interlace

h5im.makeImage(id, name, image[,options])

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → a string naming the image.
  • image → a node::Buffer containing the data. Attributes

h5im.readImage(id, name)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → a string naming the image.
  • return ← a node::Buffer containing the data. Attributes

h5im.readImageRegion(id, name, options)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → a string naming the image.
  • options → define start, stride and count (e.g. {start: [(imageInfo.width-1)/2, (imageInfo.height-1)/2, 0], stride: [1, 1, 1], count: [400, 400, 4]})
  • return ← a node::Buffer containing the data. Attributes

h5im.isImage(id, name)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → a string naming the image.
  • return ← true if it exists or false

h5im.getImageInfo(id, name)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → a string naming the image.
  • return ← info about the image space (e.g. {width: 400, height: 400, planes: 4, npals: 4})

h5im.makePalette(id, name, palette)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → The palette name
  • palette →