Catalog npm
PACKAGE EXPLORERView in registry

3dphoto

npm

Allows you to generate cinematic photos

Versions collected2
Direct dependencies6From release 1.0.1
Last observed20 Oct, 19:40 UTC

README

Current package documentation

3dphoto

Allows you to generate cinematic photos

Installation

Install 3dphoto with npm

  npm install 3dphoto

Usage/Examples

Make a cinematic photo

const photoCinematic = require('3dphoto');
const path = require('path');
const photo3d = new photoCinematic({
  downloadPath: path.join(__dirname, '../downloads')
});

photo3d.animate({
  image: path.join(__dirname, './uploads', 'brad.jpg'),
  toBase64: true
})
.then((data) => {
  console.log('DATA:', data);
})
.catch(err => {
  console.error(err);
});

Response

{
  "file": "DOWNLOAD_PATH/32e9ee6512eb42a4b230f166341d9729.gif",
  "base64": "R0lGODlhwAAAAfcAAAMDAwoKCgwNDQ0PDg4RDxIREBYQEB0RDiUSDCoVDjEYEDQ......YUTgh56"
}

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.1Registry latest3 Oct 20226
1.0.03 Oct 20223

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
luiscruzga/3dphoto

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e15040397e51323280e48e9bebce1a39c612a11ff86eeadd58f15926ed6227fb