From 284a506685e00490b856e2ff3a2ba606d69eb402 Mon Sep 17 00:00:00 2001 From: Johannes Siipola Date: Tue, 7 Sep 2021 04:49:46 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3351253..e59b7ce 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ composer require joppuyo/jpeg-xl-encode $source = '/absolute/path/to/source.jpeg'; $destination = '/absolute/path/to/destination.jxl'; $options = [ - 'encoding': 'lossy', - 'quality': 80, + 'encoding' => 'lossy', + 'quality' => 80, ]; try { \Joppuyo\JpegXlEncode\Encoder::encode($source, $destination, $options);