cropit

module
v0.0.0-...-a42f776 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2015 License: MIT

README

cropit

This repository consists of three Go packages:

  • crop: This package is a thin wrapper around the cutter package and exports a single function Crop()
  • cropit: This package is a program which uses the above package to implement a basic image cropping program
  • server: This package is a HTTP server using the crop pacakge and thus a HTTP client can send images to it and get the cropped images back.

GoDoc

Directories

Path Synopsis
Crop package exporting the Crop() function used to crop images
Crop package exporting the Crop() function used to crop images
Simple command line program using github.com/amitsaha/cropit/crop to crop images Usage: $ go run main.go --height=5000 --width=7000 <path to>/cat1.jpg <path to>cat2.png The cropped images will be placed in the same directory as the original images with the file names being “cropped_<original_file_name>.<original_extension>“
Simple command line program using github.com/amitsaha/cropit/crop to crop images Usage: $ go run main.go --height=5000 --width=7000 <path to>/cat1.jpg <path to>cat2.png The cropped images will be placed in the same directory as the original images with the file names being “cropped_<original_file_name>.<original_extension>“
HTTP server exposing the cropping functionality
HTTP server exposing the cropping functionality

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL