Skip to content

Commit

Permalink
Merge pull request #17 from jarrekk/develop
Browse files Browse the repository at this point in the history
new version
  • Loading branch information
jarrekk committed Jul 17, 2017
2 parents 775c748 + ec988dc commit d34c5be
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
3 changes: 3 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@

* **v-hunt** <https://github.com/v-hunt>
* **pprmint** <https://github.com/pprmint>
* **v-hunt** <https://github.com/v-hunt>
* **arayate** <https://github.com/arayate>
* **berkerboy** <https://github.com/berkerboy>
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@ options = {
imgkit.from_url('http://google.com', 'out.png', options=options)
```

At some headless servers, perhaps you need to install **xvfb**:

``` bash
# at ubuntu server, etc.
sudo apt-get install xvfb
# at centos server, etc.
yum install xorg-x11-server-Xvfb
```

Then use **IMGKit** with option **xvfb**: `{"xvfb": ""}`.

By default, IMGKit will show all `wkhtmltoimage` output. If you don't want it, you need to pass `quiet` option:


Expand Down
4 changes: 2 additions & 2 deletions imgkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

__author__ = 'jarrekk'
__contact__ = '[email protected]'
__version__ = '0.1.6'
__homepage__ = 'http://github.com/jarrekk/imgkit'
__version__ = '0.1.7'
__homepage__ = 'https://github.com/jarrekk/imgkit'
__license__ = 'MIT'

from .imgkit import IMGKit
Expand Down

0 comments on commit d34c5be

Please sign in to comment.