2.0.4 • Published 6 years ago

@meibin/watermark v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

travis-icon

watermark

Generate watermark for image and video, based on ffmpeg.

Dependency

Install

npm install @meibin/watermark

Use

  const watermark = require('@meibin/watermark')
  
  const source = '/path/to/image/or/video'
  const target = '/path/to/output/file'

  // text watermark
  watermark(source, target, 'TextWatermark').then(() => {
    // done
  })
  // image watermark
  watermark(source, target, imageSource, { textMark: false }).then(() => {
    // done
  })
2.0.4

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago