Skip to main content

A CLI tool for Instagram grid and stripes

Project description

Insta Splitter CLI

A simple wrapper around Pillow library to automate picture edits I often found myself doing before Instagram uploads

  • splitting a picture into a grid of square cutouts
  • adding horizontal white stripes over the top and bottom of the image.

Installation

You can simply install the CLI via pip:

pip install insta-splitter

Usage

You can call the CLI by typing insta-splitter into the command line. You can use following arguments to process your image:

  • --mode: expects a string value

    1. single-square: split the image into a single square
    2. three-squares: split the image horizontally into three squares
    3. grid: split the image into a grid of rows and columns

    If ommited, image will be left in original shape.

  • --stripes: Apply white horizontal stripes to the image

  • --stripes-height: Height of the white stripes as a decimal percentage of the image height. Default value is 0.16 (1/6 of the image height).

  • --rows: Number of rows in the grid. Will be ignored if mode is not grid

  • --columns: Number of columns in the grid. Will be ignored if mode is not grid

  • --out: Path to the output directory. If not specified, input directory will be used.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

insta-splitter-0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

insta_splitter-0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file insta-splitter-0.1.tar.gz.

File metadata

  • Download URL: insta-splitter-0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for insta-splitter-0.1.tar.gz
Algorithm Hash digest
SHA256 4d2e201fc838251f12844b55e10a1f6e80df04d9c1ee1a511e4fa28b05cf675f
MD5 77985b1e0dca3d49185a394d754b13c3
BLAKE2b-256 4a9e825faa66b344e4b29485f6d739b521b5c4ddc02cdc963fa4e60b2905ca66

See more details on using hashes here.

File details

Details for the file insta_splitter-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for insta_splitter-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9e8f4515dd4b2aab4e1a7013c0e763c8296a88b49b7799facf159fc8caf5aaf
MD5 468f746bc59fc09af9e302e18dba93e4
BLAKE2b-256 c8ec261758d26af142a216ef21fd5abdb3abcfc97ff47e418ea422c5d4ae6399

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page