Swiftpack.co -  doozMen/crop-scale as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
doozMen/crop-scale
minimal cli tool to crop, resize or reduce the memory footprint of images
.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: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

4 weeks ago

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