mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-11 00:10:27 -07:00
refactor(docs): normalize description and examples
This commit is contained in:
parent
16537319bd
commit
809281eab9
1 changed files with 5 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# bimg [](https://travis-ci.org/h2non/bimg) [](https://github.com/h2non/bimg/releases) [](https://godoc.org/github.com/h2non/bimg) [](https://coveralls.io/r/h2non/bimg?branch=master)
|
||||
|
||||
Small but featured Go library for blazing fast image processing based on [libvips](https://github.com/jcupitt/libvips) using C bindings.
|
||||
Small Go library for blazing fast and efficient image processing based on [libvips](https://github.com/jcupitt/libvips) using C bindings.
|
||||
|
||||
bimg is designed to be a small and efficient library with a specific but useful and generic set of features.
|
||||
bimg is designed to be a small and efficient library with a generic and useful set of features.
|
||||
It uses internally libvips, which is typically 4x faster than using the quickest ImageMagick and GraphicsMagick settings or Go native `image` package, and in some cases it's even 8x faster processing JPEG images. It can read JPEG, PNG, WEBP, TIFF and Magick formats and it can output to JPEG, PNG and WEBP. It supports common [image transformation](#supported-image-operations) operations such as crop, resize, rotate... and conversion into multiple formats.
|
||||
|
||||
To getting start take a look to the [examples](#examples) and [programmatic API](https://godoc.org/github.com/h2non/bimg) documentation.
|
||||
|
|
@ -121,7 +121,9 @@ if bimg.NewImage(newImage).Type() == "png" {
|
|||
}
|
||||
```
|
||||
|
||||
#### Process
|
||||
#### Custom options
|
||||
|
||||
See [Options](https://godoc.org/github.com/h2non/bimg#Options) struct to see all available fields
|
||||
|
||||
```go
|
||||
options := bimg.Options{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue