Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sergix44 committed Sep 18, 2023
1 parent d944f81 commit 4f8df95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/docs/alterations/filesize.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 21
_modified_: false
_modified_: true
---
# `filesize()`

Expand All @@ -22,7 +22,6 @@ Get the image filesize in bytes.
```php
use SergiX44\ImageZen\Image;

$image = Image::make('path/to/image.jpg')
->filesize();
$filesize = Image::make('path/to/image.jpg')->filesize(); // filesize in bytes

```
7 changes: 5 additions & 2 deletions docs/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ fully compatible with PHP 8 and named arguments. It also has some new features a
- **Driver Switch**: You can easily switch between GD and Imagick drivers, ImageZen will take care of converting from
one to another. See [Driver Switching](/docs/supported-formats#switching-backends-on-the-fly) for more information.
- **Extensible**: ImageZen is designed to be extended and customised, so you can easily add your own image manipulation
functionality. See [Custom Alterations](/docs/extend) for more information.
functionality. See [Extend](/docs/extend) for more information.
- **Fast**: Some alteration has been refactored to be faster than the original library.
- **Strict Types**: ImageZen is fully typed, so you can use it in your typed projects without any problem.
- **Strict Types**: ImageZen is fully typed, and leverages Enums and Named Arguments to make the API more readable and
easy to use.
- **Tested**: ImageZen is fully tested and output images are compared to reference images to ensure that the output is
correct and consistent.

## Installation

Expand Down

0 comments on commit 4f8df95

Please sign in to comment.