@@ -42,7 +42,7 @@ to your `composer.json`:
42
42
43
43
```
44
44
"require": {
45
- "jcupitt/vips" : "2.0 .0"
45
+ "jcupitt/vips" : "2.1 .0"
46
46
}
47
47
```
48
48
@@ -112,7 +112,7 @@ either 255 or the original image.
112
112
Note that libvips operators always make new images, they don't modify existing
113
113
images, so after the line above, ` $image ` is unchanged.
114
114
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:
116
116
117
117
``` php
118
118
$image = $image->add(2);
@@ -136,7 +136,7 @@ to add two images. Or:
136
136
$image = $image->add([[1, 2, 3], [4, 5, 6]]);
137
137
```
138
138
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.
140
140
141
141
Almost all methods can take an extra final argument: an array of options.
142
142
For example:
@@ -145,7 +145,7 @@ For example:
145
145
$image->writeToFile("fred.jpg", ["Q" => 90]);
146
146
```
147
147
148
- ` php-vips ` comes [ with full API
148
+ ` php-vips ` comes [ with API
149
149
docs] ( https://libvips.github.io/php-vips/classes/Jcupitt-Vips-Image.html ) .
150
150
To regenerate these from your sources, type:
151
151
@@ -155,8 +155,9 @@ $ vendor/bin/phpdoc
155
155
156
156
And look in ` docs/ ` .
157
157
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:
160
161
161
162
https://libvips.org/API/current
162
163
0 commit comments