From 5250ad30ce475370b19bbae89ef675e7c435ea9a Mon Sep 17 00:00:00 2001 From: Tomas Aparicio Date: Tue, 27 Sep 2016 15:32:08 +0100 Subject: [PATCH] feat(version): bump to 1.0.2 --- History.md | 5 +++++ README.md | 9 ++++++--- version.go | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 22c7b2d..62a07fd 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +## 1.0.2 / 27-09-2016 + +- feat(#95): support GIF, SVG and PDF formats +- fix(#108): auto-width and height calculations now round instead of floor + ## 1.0.1 / 22-06-2016 - fix(#90): Do not not dereference the original image a second time. diff --git a/README.md b/README.md index 6bc581a..db8f935 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,9 @@ Small [Go](http://golang.org) package for fast high-level image processing using [libvips](https://github.com/jcupitt/libvips) via C bindings, providing a simple, elegant and fluent [programmatic API](#examples). -bimg was designed to be a small and efficient library supporting a common set of [image operations](#supported-image-operations) such as crop, resize, rotate, zoom or watermark. It can read JPEG, PNG, WEBP natively, and TIFF, PDF, GIF and SVG formats, if `libvips` is compiled with `libmagick` bindings. -`bimg` is able to output images as JPEG, PNG and WEBP formats, including transparent conversion across them. +bimg was designed to be a small and efficient library supporting a common set of [image operations](#supported-image-operations) such as crop, resize, rotate, zoom or watermark. It can read JPEG, PNG, WEBP natively, and TIFF, PDF, GIF and SVG formats if `libvips@8.3+` is compiled with proper library bindings. + +bimg is able to output images as JPEG, PNG and WEBP formats, including transparent conversion across them. bimg uses internally libvips, a powerful library written in C for image processing which requires a [low memory footprint](http://www.vips.ecs.soton.ac.uk/index.php?title=Speed_and_Memory_Use) and it's 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. @@ -46,10 +47,12 @@ If you're using `gopkg.in`, you can still rely in the `v0` without worrying abou ## Prerequisites -- [libvips](https://github.com/jcupitt/libvips) v7.40.0+ (7.42.0+ recommended) +- [libvips](https://github.com/jcupitt/libvips) 7.40.0+ or 8+ (8.3+ recommended) - C compatible compiler such as gcc 4.6+ or clang 3.0+ - Go 1.3+ +**Note**: `libvips` v8.3+ is required for GIF, PDF and SVG support. + ## Installation ```bash diff --git a/version.go b/version.go index 4766bcd..b10c1e9 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package bimg // Version represents the current package semantic version. -const Version = "1.0.1" +const Version = "1.0.2"