Package for processing images for Instagram upload.
Project description
Export Images for IG
Add padding around image, drop shadows.
How to Use
Install packages.
pip install export_ig
Run
export_ig --input_path "*.jpg" --output_folder padded/ --subfolder \
--aspect_ratio 4x5 --shadow_offset 32 --radius 12 --shadow_color gray \
--pad 100 --bg_color white \
--n_jobs 10
input_path
: glob string for input files. When using wildcard (*), make sure to wrap it in quotes so that it does not get expanded by bash.output_folder
: folder to contain processed images.subfolder
: when set, theoutput_folder
is created within theinput_path
folder.aspect_ratio
: aspect ratio of output image. Auto adjusted for portrait and landscape. Should be separated by "x".shadow_offset
: offset for shadow (in pixels). negative number leads to shadow on top-left diagonal of the image.radius
: blur radius for the shadow.shadow_color
: can be either hex string value (with or without #) or color names in {white, black, gray}bg_color
: color for the padded background.pad
: amount (in pixels) to pad.n_jobs
: how many threads to use.
Examples
Before | After |
---|---|
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
export_ig-1.0.2.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for export_ig-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd1ef914d42a7102a757b73bfed3cbf070439b25657e0dacc431279017eda75 |
|
MD5 | 8a2b9265b59a0b90b0a8da2518c561a8 |
|
BLAKE2b-256 | 069969b627d5b18b1a64b901067b558d7ee43f42b3b87f39ddbbc31b839b5899 |