GithubHelp home page GithubHelp logo

benbalter / avatar-montage Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 3.0 8 KB

Create a tiled montage (or collage) of GitHub Avatar images for use in all hands and other "welcome" or "thank you" slides

License: MIT License

Ruby 5.15% Shell 94.85%
photo-collage montage collage imagemagick image-montage

avatar-montage's Introduction

Avatar Montage

Create a tiled montage (or collage) of GitHub Avatar images for use in all hands and other "welcome" or "thank you" slides

This repo contains two tiny bash scripts in the scripts/ directory. One to download avatars via curl, the other to create the montage via ImageMagick's montage command.

Here's an example of what the resulting montage looks like using the first 98 GitHub users by user ID:

montage

Of course you can customize the output. See below for details. Don't need to control the output or are looking for something simpler? Check out @jhutchings1's hosted Thank you builder.

Usage

  1. Clone this repo locally and cd into the directory
  2. Add a list of GitHub handles (without the @) to a handles.txt file, one handle per line
  3. Run script/download to fetch the avatars
  4. Runscript/create to create the montage
  5. Use the resulting montage.png file in your presentation

Requirements

To run the scripts, you'll need:

  • curl, and
  • imagemagick

Note: You can install both on MacOS with brew bundle

Customizing the output

You can customize the output by passing additional arguments to script/create, e.g., script/create -tile 10x to force the montage to be 10 images wide. See the ImageMagick montage documentation for a list of available options.

Credit

Credit goes to @martinwoodward for his "very quick ruby script to create a bash script that will create a montage" for the idea, and for pointing me towards the ImageMagick montage command.

avatar-montage's People

Contributors

benbalter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.