All Projects β†’ mingrammer β†’ round

mingrammer / round

Licence: MIT License
πŸŒ€ A command-line for rounding the images

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to round

chop
Round matrix elements to lower precision in MATLAB
Stars: ✭ 21 (-57.14%)
Mutual labels:  rounding
RKPieChart
Pie Chart written in Swift 3
Stars: ✭ 67 (+36.73%)
Mutual labels:  round
formatters
A javascript library for formatting and manipulating.
Stars: ✭ 14 (-71.43%)
Mutual labels:  round
RoundedLayout
This is a library that has a rounded cut of View, support whether the specified corners are cropped and add a custom Border, and add a shadow support from API 9, which is based on FrameLayout, that is, His Child can be any View, the current library or preview version, if you encounter problems in the process can submit issue or pr.
Stars: ✭ 24 (-51.02%)
Mutual labels:  round
roundy
Simple react round slider. Supports touch events.
Stars: ✭ 29 (-40.82%)
Mutual labels:  round
RoundImage
This library is used for converting Bitmap or Drawable images to Round or Circular Shape. Round image view for Android or Circular Image View for Android.Tags Android Round Circularimageview Circle Rounded Corner imageview library.
Stars: ✭ 42 (-14.29%)
Mutual labels:  round
m2.Price
Magento2. Rounding Price to Prettier Value for Multi-Currency Stores.
Stars: ✭ 60 (+22.45%)
Mutual labels:  round
timechange
Efficient Updating of Date-Times
Stars: ✭ 25 (-48.98%)
Mutual labels:  rounding
Stats
A well tested and comprehensive Golang statistics library package with no dependencies.
Stars: ✭ 2,196 (+4381.63%)
Mutual labels:  rounding

Round

Round is a command-line for rounding the images.

Installation

go get github.com/mingrammer/round

Usage

Round an image. (default option: 4 corners with 0.25 rounding rate)

$ round /path/to/image.png

Round multiple images.

$ round /path/to/image.png /path/to/image2.png
$ round *.png

Change the rounding rate. (1.0 means that make an image circular)

$ round -r 0.5 /path/to/image.png
$ round -r 1.0 /path/to/image.png

You can round only specific corners.

# tl (top left), tr (top right), bl (bottom left), br (bottom right)
$ round -c tl,br /path/to/image.png

Add prefix or suffix to output files. (default suffix: _rounded)

$ round -p new -s _circle /path/to/square.png

Examples

rect+jpg rect+png square+jpg square+png
original flower.jpg flower.png flower2.jpg flower2.png
half flower_r0.5.jpg flower_r0.5.png flower2_r0.5.jpg flower2_r0.5.png
leaf flower_leaf.jpg flower_leaf.png flower2_leaf.jpg flower2_leaf.png
circle new_flower_ciecle.jpg new_flower_ciecle.png new_flower2_ciecle.jpg new_flower2_ciecle.png
original half leaf circle
options no options -r 0.5 -r 0.75 -c tl,br -s _leaf -r 1.0 -p new_ -s _circle

Photo by Alex Blăjan on Unsplash

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].