https://github.com/sebouchu/pptx2medias
Get medias from your PowerPoint presentation!
https://github.com/sebouchu/pptx2medias
Last synced: 10 months ago
JSON representation
Get medias from your PowerPoint presentation!
- Host: GitHub
- URL: https://github.com/sebouchu/pptx2medias
- Owner: SebouChu
- License: mit
- Created: 2020-07-30T08:04:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T09:09:46.000Z (about 5 years ago)
- Last Synced: 2025-03-28T21:42:49.252Z (over 1 year ago)
- Language: Ruby
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PPTX2Medias
[](https://badge.fury.io/rb/pptx2medias)
Ruby gem which extracts media files (images, videos, sounds) from a PPTX file.
## Installation
```
gem install pptx2medias
```
Or add this `gem 'pptx2medias', '~> 0.0.1'` your Gemfile and run `bundle install` in the Terminal.
## Usage
- From a Ruby script
```ruby
require 'pptx2medias'
file_path = "/home/user/path/to/presentation.pptx"
Pptx2Medias::extract(file_path)
```
- From the Terminal
```
$ pptx2medias /home/user/path/to/presentation.pptx
```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new pull request