actions-marketplace-validations/Auto Website to GIF or WebP
Upgrade your README with a fresh file of a web page.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url | Web page URL to be captured | yes | — |
| save_path | File saving path, starts with /, defaults to repo root | no | / |
| file_format | Save as GIF or WebP, defaults to GIF | no | GIF |
| file_name | File name, do not include extension or path, defaults to 'demo' | no | demo |
| window_width | Browser window width, defaults to 1920 (px) | no | 1920 |
| window_height | Browser window height, defaults to 1080 (px) | no | 1080 |
| start_y | Position where capture should start, defaults to 0 (px) | no | 0 |
| stop_y | Position where capture should stop, defaults to bottom of page | no | 0 |
| final_width | Final width, defaults to 640 (px) | no | 640 |
| final_height | Final height, defaults to 360 (px) | no | 360 |
| scroll_step | Number of pixels by scroll, defaults to 25 (px) | no | 25 |
| time_per_frame | Milliseconds per frame, defaults to 100 (ms) | no | 100 |
| resizing_filter | Filter used to resize frames, see https://pillow.readthedocs.io/en/stable/reference/Image.html?highlight=resize#PIL.Image.Image.resize, defaults to LANCZOS | no | LANCZOS |
| start_delay | Number of milliseconds to wait for before starting capture, defaults to 0 (ms) | no | 0 |
| no_scoll | Capture GIF without page scroll, will discard any scroll related parameter, defaults to false | no | false |
| time_between_frames | Number of milliseconds between frame captures if no_scroll is true, defaults to 100 (ms) | no | 100 |
| number_of_frames | Number of frames to be captured if no_scroll is true, defaults to 20 | no | 20 |
Outputs
no outputs