Swiftpack.co - doozMen/crop-scale as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by doozMen.
doozMen/crop-scale 0.0.1
minimal cli tool to crop, resize or reduce the memory footprint of images
⭐️ 0
🕓 2 years ago
.package(url: "https://github.com/doozMen/crop-scale.git", from: "0.0.1")

crop

Base on https://github.com/eneko/crop

crop & scale

Install cloned

git clone https://github.com/doozMen/crop

A command line tool to scale and crop images maintaining aspect ratio.

After cloning lib

$ swift run crop-scale crop dir Media --width 1920 --height 1080

Reduce memory footprint

$ swift run crop-scale scale dir Media 

Usage

Output after running swift run crop-scale --help

USAGE: crop-resize [--verbose <verbose>] <subcommand>

OPTIONS:
--verbose <verbose>     (default: false)
-h, --help              Show help information.

SUBCOMMANDS:
crop
scale
memory-footprint

See 'crop-resize help <subcommand>' for detailed help.

Installation on System

Currently only supports building from source. You will need to understand git.

cd <#developer directry#>
git clone https://github.com/doozMen/crop-scale
cd crop-scale
# brew install make
make

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

2 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics