Animate a long screenshot
Project description
anishot
Animates a long screenshot into a GIF. Use it to show off long screenshots in your GitHub README.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anishot-0.1.0.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file anishot-0.1.0.tar.gz
.
File metadata
- Download URL: anishot-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a623eea73108bd17a364f7f5bab1b74336af646c66fa3784bb27ea69045dd0da |
|
MD5 | 48edd1016209a0d89e68a0b2c0ee78ce |
|
BLAKE2b-256 | 6a57fae6976689f981daa068361bba39a2a0fab8640158a231da29666d4dce72 |
File details
Details for the file anishot-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: anishot-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a4c6354e160582421fd8525dc3ac5351881d4db7c06b9a9cf400d359ca2860d |
|
MD5 | 32042acce4139013aa6a9f3acc1d8d9d |
|
BLAKE2b-256 | 9c448ae8206ae42f028c4b4e6f28f7644583fa787d6ff781171320a0e183cf67 |