api documentation for images (v3.0.0)

Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js

table of contents

  1. module images
    1. function images (obj)
    2. function images.Image (width, height)
    3. function images.copyFromImage (src, x, y, width, height)
    4. function images.createImage (width, height)
    5. function images.gc ()
    6. function images.getUsedMemory ()
    7. function images.loadFromBuffer (buffer, start, end)
    8. function images.loadFromFile (file)
    9. function images.setGCThreshold (value)
    10. function images.setLimit (maxWidth, maxHeight)
    11. number images.TYPE_BMP
    12. number images.TYPE_GIF
    13. number images.TYPE_JPEG
    14. number images.TYPE_PNG
    15. number images.TYPE_RAW
    16. object images.Image.prototype
    17. object images.binding
  2. module images.Image
    1. function images.Image (width, height)
  3. module images.Image.prototype
    1. function images.Image.prototype.copyFromImage ()
    2. function images.Image.prototype.draw ()
    3. function images.Image.prototype.drawImage ()
    4. function images.Image.prototype.encode ()
    5. function images.Image.prototype.fill ()
    6. function images.Image.prototype.fillColor ()
    7. function images.Image.prototype.height ()
    8. function images.Image.prototype.loadFromBuffer ()
    9. function images.Image.prototype.resize ()
    10. function images.Image.prototype.save ()
    11. function images.Image.prototype.saveAsync ()
    12. function images.Image.prototype.size ()
    13. function images.Image.prototype.toBuffer ()
    14. function images.Image.prototype.width ()
  4. module images.binding
    1. function images.binding.Image ()
    2. function images.binding.gc ()
    3. number images.binding.TYPE_BMP
    4. number images.binding.TYPE_GIF
    5. number images.binding.TYPE_JPEG
    6. number images.binding.TYPE_PNG
    7. number images.binding.TYPE_RAW
    8. number images.binding.maxHeight
    9. number images.binding.maxWidth
    10. number images.binding.usedMemory

module images

function images (obj)

function images.Image (width, height)

function images.copyFromImage (src, x, y, width, height)

function images.createImage (width, height)

function images.gc ()

function images.getUsedMemory ()

function images.loadFromBuffer (buffer, start, end)

function images.loadFromFile (file)

function images.setGCThreshold (value)

function images.setLimit (maxWidth, maxHeight)

module images.Image

function images.Image (width, height)

module images.Image.prototype

function images.Image.prototype.copyFromImage ()

function images.Image.prototype.draw ()

function images.Image.prototype.drawImage ()

function images.Image.prototype.encode ()

function images.Image.prototype.fill ()

function images.Image.prototype.fillColor ()

function images.Image.prototype.height ()

function images.Image.prototype.loadFromBuffer ()

function images.Image.prototype.resize ()

function images.Image.prototype.save ()

function images.Image.prototype.saveAsync ()

function images.Image.prototype.size ()

function images.Image.prototype.toBuffer ()

function images.Image.prototype.width ()

module images.binding

function images.binding.Image ()

function images.binding.gc ()

[ this document was created with utility2 ]