You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-12Lines changed: 25 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,9 +129,9 @@ In the case of the example above, an image of 400px × 600px will be resize
129
129
130
130
Crop modes:
131
131
132
-
Few crop mode options are available in order for you to choose how you want to handle the eventual exceeding width or height after resizing down your image.
132
+
Few crop mode options are available in order for you to choose how you want to handle the eventual exceeding width or height after resizing down your image.
133
133
The default crop mode used is the `CROPCENTER`.
134
-
As a result those pieces of code are equivalent:
134
+
As a result those pieces of code are equivalent:
135
135
136
136
```php
137
137
$image = new ImageResize('image.jpg');
@@ -269,7 +269,7 @@ By default, [image interlacing](http://php.net/manual/en/function.imageinterlace
269
269
$image = new ImageResize('image.jpg');
270
270
$image->scale(50);
271
271
$image->interlace = 0;
272
-
$image->save('image2.jpg')
272
+
$image->save('image2.jpg');
273
273
```
274
274
275
275
Chaining
@@ -305,26 +305,26 @@ try{
305
305
$image = new ImageResize(null);
306
306
echo "This line will not be printed";
307
307
} catch (ImageResizeException $e) {
308
-
echo "Something went wrong" . $e->getMessage();
308
+
echo "Something went wrong" . $e->getMessage();
309
309
}
310
310
```
311
-
311
+
312
312
Filters
313
313
--------
314
-
315
-
You can apply special effects for new image like blur or add banner.
314
+
315
+
You can apply special effects for new image like blur or add banner.
0 commit comments