philipjscott / simple-thumbnail

A library that produces thumbnails from images, videos and URLs :mag_right:
https://www.npmjs.com/package/simple-thumbnail
MIT License
25 stars 14 forks source link

feat(22): Add time-seeking #24

Closed philipjscott closed 6 years ago

philipjscott commented 6 years ago

Context

Developers may want to generate a thumbnail at an arbitrary point in time (ie. some other point than the first frame).

Objective

genThumbnail('myfile.webm', 'some/output/path.png', '100:?', {
  seek: '00:00:13.37'
})

References

Issue: https://github.com/ScottyFillups/simple-thumbnail/issues/22

philipjscott commented 6 years ago

:tada: This PR is included in version 1.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: