Skip to content

Commit c46db55

Browse files
committed
update for 2.1
1 parent e736e51 commit c46db55

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Diff for: CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
All notable changes to `:vips` will be documented in this file.
44

5-
## master
5+
## 2.1.0 - 2022-10-11
66

77
- allow "-" as a name component separator [andrews05]
8+
- split FFI into a separate class [kleisauke]
9+
- improve finding of library binary [jcupitt]
810

911
## 2.0.3 - 2022-07-04
1012

Diff for: README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ to your `composer.json`:
4242

4343
```
4444
"require": {
45-
"jcupitt/vips" : "2.0.0"
45+
"jcupitt/vips" : "2.1.0"
4646
}
4747
```
4848

@@ -112,7 +112,7 @@ either 255 or the original image.
112112
Note that libvips operators always make new images, they don't modify existing
113113
images, so after the line above, `$image` is unchanged.
114114

115-
You use long, double, array and image as parameters. For example:
115+
You can use long, double, array and image as parameters. For example:
116116

117117
```php
118118
$image = $image->add(2);
@@ -136,7 +136,7 @@ to add two images. Or:
136136
$image = $image->add([[1, 2, 3], [4, 5, 6]]);
137137
```
138138

139-
To make a 2 x 3 image from the array, then add that image to the original.
139+
To make a 3 x 2 image from the array, then add that image to the original.
140140

141141
Almost all methods can take an extra final argument: an array of options.
142142
For example:
@@ -145,7 +145,7 @@ For example:
145145
$image->writeToFile("fred.jpg", ["Q" => 90]);
146146
```
147147

148-
`php-vips` comes [with full API
148+
`php-vips` comes [with API
149149
docs](https://libvips.github.io/php-vips/classes/Jcupitt-Vips-Image.html).
150150
To regenerate these from your sources, type:
151151

@@ -155,8 +155,9 @@ $ vendor/bin/phpdoc
155155

156156
And look in `docs/`.
157157

158-
There are around 300 operations in the library, see the vips docs for an
159-
introduction:
158+
Unfortunatly, due to php-doc limitations, these do not list every option
159+
to every operation. For a full API description you need to see the main
160+
libvips documentation:
160161

161162
https://libvips.org/API/current
162163

0 commit comments

Comments
 (0)