GithubHelp home page GithubHelp logo

sudarshanpbhat / imgtrain Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 671 KB

Simple command-line utility to merge a set of images/screenshots into a banner with all images lined up one after other.

Python 97.88% Shell 2.12%

imgtrain's Introduction

imgtrain

Simple command-line utility to merge a set of images/screenshots into a banner with all images lined up one after other.

Demo


Download and setup

Download the latest binary from the repo's releases section.

 
chmod u+x ./imgtrain

Optionally, you can this to your .bash_profile to make it convenient.

 
export PATH=$PATH: 

Usage

Syntax -

imgtrain [-h] [--bg-color BG_COLOR] [--border-size BORDER_SIZE]
                [--space-between-images SPACE_BETWEEN_IMAGES] [-o OUTPUT]
                image_files [image_files ...]
                
optional arguments:
  -h, --help            show this help message and exit
  --bg-color BG_COLOR   Set the background image color
  --border-size BORDER_SIZE
                        Set the border size.
  --space-between-images SPACE_BETWEEN_IMAGES
                        Set space between images.
  -o OUTPUT, --output OUTPUT
                        Set output file name.

Example -

Since the defaults used are optimal to most use-cases, your command can be as simple as this -

./imgtrain screen1.png screen2.png  

output.jpeg should have the stitched banner.

Why imgTrain?

How many times have you been asked to post a "before" and "after" screenshot of a design you worked on? How often have you felt that a PR you raised could have been so much more powerful with a list of screenshots? How often have you added screenshots of your app on a presentation that you made to your client?

It may have not been a lot, but when it did, it must have been frustrating. It's simple, but boring and time consuming. And more often than not, these situations end up exactly when you're busy with something more important.

So imgtrain is your simple solution. One single command and your banner of screenshots is ready to use.

imgtrain's People

Contributors

sudarshanpbhat avatar

Stargazers

Dayanand Prabhu avatar Vishal Madheshia avatar Shrinath Aithal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.