Skip to content

Commit

Permalink
fix Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MaestroError committed Mar 3, 2023
1 parent f48229b commit fc50300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ composer require maestroerror/php-heic-to-jpg
## Usage
Using the class "HeicToJpeg" is extremely simple. You need full location of any HEIC image to pass in "convert" function and call "saveAs" (save as file) or "get" (get file contents) methods.
```php
// save
// 1. save as file
Maestroerror\HeicToJpg::convert("image1.heic")->saveAs("image1.jpg");
// 2. get content (binary) of converted JPG
$jpg = Maestroerror\HeicToJpg::convert("image1.heic")->get();
Expand Down

0 comments on commit fc50300

Please sign in to comment.