fix: possible leaks

This commit is contained in:
Tomas Aparicio 2015-04-07 10:16:36 +02:00
parent 7b82104e1d
commit 6cb3717518
3 changed files with 16 additions and 18 deletions

View file

@ -3,16 +3,13 @@
Small but featured Go library for blazing fast 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.
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.
bimg 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.
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.
bimg was heavily inspired in [sharp](https://github.com/lovell/sharp), a great node.js package for image processing build by [Lovell Fuller](https://github.com/lovell).
**Note**: bimg is still a beta package. Pull requests and issues are highly appreciated
**Note**: bimg is still beta. Pull requests and issues are highly appreciated
## Prerequisites
@ -43,8 +40,8 @@ The [install script](https://github.com/lovell/sharp/blob/master/preinstall.sh)
- Rotate
- Flip
- Extract area
- Format conversion
- EXIF metadata (size, alpha channel, profile, orientation...)
- Format conversion
## Performance