Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/strogonoff/panorama-square-slicer

Takes a landscape-oriented image and slices it into squares with no gap.
https://github.com/strogonoff/panorama-square-slicer

fish imagemagick

Last synced: 14 days ago
JSON representation

Takes a landscape-oriented image and slices it into squares with no gap.

Awesome Lists containing this project

README

        

===============
Panorama slicer
===============

Takes a landscape-oriented image and slices it into even squares with no gap.

Slices are placed in the same directory as input and named
``_slice_.jpg``.

If given horizontally oriented image is not evenly divisible,
fills the remainder of the last square with white background.

Intermediate output is .tif files, created in the same directory as input.
They are not removed upon completion to avoid data loss.

Use cases
---------

* Instagram carousel.

Pre-requirements
----------------

This is currently a fish script, so that shell must be installed.

It uses ImageMagick’s ``convert`` binary.

Usage
-----

::

./slice