Skip to content

Commit

Permalink
Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandijck committed Nov 3, 2023
1 parent c20607b commit f4459d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/image-manipulations/resizing-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $image->fit(Fit $fit, int $width, int $height);

The following `$fit`s are available through the `Fit` enum:

#### `Fit::Contain` (Default)
#### `Fit::Contain` (Default)[image-canvas.md](image-canvas.md)

Resizes the image to fit within the width and height boundaries without cropping, distorting or altering the aspect ratio.

Expand Down
6 changes: 3 additions & 3 deletions docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 1

Image manipulation doesn't have to be hard. This PHP package makes it super easy to apply common manipulations to images like resizing, cropping and adding effects.

For all available manipulations, please see the [overview](/image/v1/image-manipulations/overview).
For all available manipulations, please see the [overview](/image/v3/image-manipulations/overview).

## Quick examples

Expand Down Expand Up @@ -44,9 +44,9 @@ The image is converted to JPG simply by saving it with the correct file extensio

```php
Image::load('github-logo.png')
->fit(Manipulations::FIT_FILL, 500, 300)
->fit(Fit::Fill, 500, 300)
->background('lightblue')
->border(15, '007698', Manipulations::BORDER_EXPAND)
->border(15, BorderType::Expand, '007698')
->save('example.jpg');
```

Expand Down

0 comments on commit f4459d9

Please sign in to comment.