Skip to content

pezfisk/RustInstragramSplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Image Splitter (Rust)

A simple Rust program that splits an image into 4 quadrants, making it suitable for posting on Instagram (which has a 1080px image size limit). This way, you can avoid losing image detail when posting large images by splitting them into smaller, square pieces.

Features

  • Splits an image into 4 quadrants.
  • Each quadrant is designed for Instagram’s square post format.
  • Saves each quadrant as a separate file.
  • Cross-platform: Can be compiled on various operating systems.

Dependencies

To build the project, you'll need the following dependencies:

  • Rust: The programming language used.
  • Image: Used for image manipulation (loading, cropping, saving).
  • Rayon: A library for parallel iteration to speed up processing.
  • RFD: A library for file dialogs, which allows the user to select input images easily.
  • Slint: A UI framework to create a simple interface for interacting with the program.

How to Build

  1. Clone the repository:

    git clone https://github.com/pezfisk/RustInstagramSplitter
    cd RustInstagramSplitter
  2. Install the dependencies (make sure you have Rust installed).

  3. Build the project using Cargo:

    cargo build --release
  4. The output binary will be located in the target/release directory.

How to Use

  1. Run the program:

    cargo run
  2. When prompted, select an image file from your file explorer.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

App to split images in quadrants to post in Instagram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published