Dijix Image
Isomorphic Image Processing Plugin for Dijix
To use in node, make sure you install the deps before installing:
# osx
brew install pkg-config cairo libpng jpeg giflib
# ubuntu
sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
// initialisedigix; // usage // accepts base64 or file pathdijix; /*name: 'An Adorable Kitten',fileName: 'kitten.jpg',mimeType: 'image/jpeg',src: 'ipfs://<ipfs hash>',width: 2048,height: 1024,size: 12301293, // bytesthumbnails: { 64: 'ipfs://<ipfs hash>', // links to raw 64 x 32 jpeg image 256: 'ipfs://<ipfs hash>', 512: 'ipfs://<ipfs hash>', 1024: 'ipfs://<ipfs hash>',},*/