djvu.cr
djvu.cr
This lib provides methods to inspect djvu documents
Installation
-
Add the dependency to your
shard.yml
:dependencies: djvu: gitlab: repomaa/djvu.cr
-
Run
shards install
Usage
require "djvu"
doc = Djvu::Document.new("path/to/file.djvu")
doc.annotations.try do |annotations|
pp annotations.metadata
end
doc.pages.each do |page|
pp page.text
# or
page.html(STDOUT)
end
Contributing
- Fork it (https://gitlab.com/repomaa/djvu/forks/new)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Merge Request
Contributors
- Joakim Repomaa - creator and maintainer
Repository
djvu.cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- over 5 years ago
- August 3, 2019
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 15:34:30 GMT
Languages