Metadata-Version: 2.1
Name: anishot
Version: 0.1.0
Summary: Animate a long screenshot
Home-page: https://github.com/sourcerer-io/anishot
Author: sourcerer-io
Author-email: sergey@sourcerer.io
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires: pbd
Description-Content-Type: text/markdown
Provides-Extra: devel
Requires-Dist: absl-py
Requires-Dist: imageio
Requires-Dist: Pillow
Provides-Extra: devel
Requires-Dist: pbr; extra == 'devel'

# anishot
Animates a long screenshot into a GIF. Use it to show off long screenshots in your GitHub README.

![clean look](https://user-images.githubusercontent.com/20287615/42131345-5e13bb52-7cb5-11e8-93d3-d448684dc1c5.gif)

## Install

```
$ pip install anishot
```

## Usage
```
$ anishot
Usage: 
anishot.__main__:
  --h: Window height
    (default: '0')
    (an integer)
  --inp: Input screenshot image
  --maxspeed: Max speed on scroll px/frame
    (default: '200')
    (an integer)
  --out: Output antimated GIF
  --pad: Padding on sides
    (default: '0')
    (an integer)
  --rgb_bg: Background color
    (default: '#ffffff')
  --rgb_outline: Screenshot outline color
    (default: '#e1e4e8')
  --rgb_shadow: Screenshot shadow color
    (default: '#999999')
  --rgb_window: Window outline color
    (default: '#e1e4e8')
  --shadow_size: Shadow size
    (default: '0')
    (an integer)
  --start_scale: Start scale
    (default: '0.5')
    (a number)
  --stops: List of stops for scrolling
    (default: '')
    (a comma separated list)
  --zoom_steps: Number of steps on initial zoom in
    (default: '7')
    (an integer)
  --zoom_to: Point to zoom to
    (default: '0')
    (an integer)
```

The anishot at the top of this README was generated by:
``anishot --inp=anishot.png --out=anishot.gif --h=450 --stops=290,640,940 --zoom_to=150 --start_scale=.7``

You can also experiment with styles. For example, you can go for a retro look:

``anishot --inp=anishot.png --out=anishot.gif --h=450 --stops=290,640,940 --zoom_to=150 --start_scale=.7 --pad=50 --shadow_size=5 --rgb_bg=#cccccc --rgb_window=#666666`` 

![retro look](https://user-images.githubusercontent.com/20287615/42131349-64488250-7cb5-11e8-863f-b3156e709ddc.gif)



