0.0.1 • Published 5 years ago

instaswipe v0.0.1

Weekly downloads
3
License
-
Repository
-
Last release
5 years ago

Instaswipe

This is right now a cli tool and javascript api to be able to generate "swipable" images for Instagram.

example post

Requires > Nodejs 10

Usage

npx instaswipe IMG_9881.jpg

This should create two images to be create a swipable post on Instagram.

Javascript api

import makeSwipeableImages from 'instaswipe'


...
// resolves an array of image buffers
const images = await makeSwipeableImages({
  buffer, // image buffer of image to make swipable images from,
  frames, // amount of frames to create, two is default
  ratio, // ratio of outputted image. 0.8 is default or 4/5
})
...