diff --git a/app/Services/ImageGenerationService.php b/app/Services/ImageGenerationService.php index 7f58001..ae2cfd4 100644 --- a/app/Services/ImageGenerationService.php +++ b/app/Services/ImageGenerationService.php @@ -125,6 +125,9 @@ class ImageGenerationService $imagick->setImageType(Imagick::IMGTYPE_GRAYSCALE); + // Sharpen the image to make blurry text more defined + $imagick->sharpenImage(0.7, 0.5); + if ($quantize) { $imagick->quantizeImage(2, Imagick::COLORSPACE_GRAY, 0, true, false); } diff --git a/composer.json b/composer.json index 50a4fce..be63349 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "php": "^8.2", "ext-imagick": "*", - "bnussbau/laravel-trmnl-blade": "1.2.*", + "bnussbau/laravel-trmnl-blade": "1.1.*", "intervention/image": "^3.11", "keepsuit/laravel-liquid": "^0.5.2", "laravel/framework": "^12.1", diff --git a/composer.lock b/composer.lock index fe10e04..d1a1ddb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7aa9855bcbad922d5174715ff7877cd6", + "content-hash": "29d4db93339349a577b09a89a73769f5", "packages": [ { "name": "aws/aws-crt-php", @@ -62,16 +62,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.351.8", + "version": "3.351.5", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "61bab063c6e3567942dcc4a2aac56155af22b6d5" + "reference": "2f00efa2544d158ea366c1e1174097ef330ec883" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/61bab063c6e3567942dcc4a2aac56155af22b6d5", - "reference": "61bab063c6e3567942dcc4a2aac56155af22b6d5", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2f00efa2544d158ea366c1e1174097ef330ec883", + "reference": "2f00efa2544d158ea366c1e1174097ef330ec883", "shasum": "" }, "require": { @@ -153,22 +153,22 @@ "support": { "forum": "https://github.com/aws/aws-sdk-php/discussions", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.351.8" + "source": "https://github.com/aws/aws-sdk-php/tree/3.351.5" }, - "time": "2025-07-28T18:40:29+00:00" + "time": "2025-07-23T18:04:16+00:00" }, { "name": "bnussbau/laravel-trmnl-blade", - "version": "1.2.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/bnussbau/laravel-trmnl-blade.git", - "reference": "be3ee30b86940eae32c3188f5a158b9334ceaf34" + "reference": "a27dbce9203223591b3bbad46188ca3bf6c0af02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bnussbau/laravel-trmnl-blade/zipball/be3ee30b86940eae32c3188f5a158b9334ceaf34", - "reference": "be3ee30b86940eae32c3188f5a158b9334ceaf34", + "url": "https://api.github.com/repos/bnussbau/laravel-trmnl-blade/zipball/a27dbce9203223591b3bbad46188ca3bf6c0af02", + "reference": "a27dbce9203223591b3bbad46188ca3bf6c0af02", "shasum": "" }, "require": { @@ -223,7 +223,7 @@ ], "support": { "issues": "https://github.com/bnussbau/laravel-trmnl-blade/issues", - "source": "https://github.com/bnussbau/laravel-trmnl-blade/tree/1.2.0" + "source": "https://github.com/bnussbau/laravel-trmnl-blade/tree/1.1.1" }, "funding": [ { @@ -239,7 +239,7 @@ "type": "github" } ], - "time": "2025-07-28T19:31:11+00:00" + "time": "2025-07-14T18:37:41+00:00" }, { "name": "brick/math", @@ -3356,16 +3356,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.6.0", + "version": "v5.5.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56" + "reference": "ae59794362fe85e051a58ad36b289443f57be7a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/221b0d0fdf1369c71047ad1d18bb5880017bbc56", - "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ae59794362fe85e051a58ad36b289443f57be7a9", + "reference": "ae59794362fe85e051a58ad36b289443f57be7a9", "shasum": "" }, "require": { @@ -3408,9 +3408,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.6.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.5.0" }, - "time": "2025-07-27T20:03:57+00:00" + "time": "2025-05-31T08:24:38+00:00" }, { "name": "nunomaduro/termwind", @@ -8963,16 +8963,16 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.20", + "version": "2.1.19", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "a9ccfef95210f92ba6feea6e8d1eef42b5605499" + "reference": "473a8c30e450d87099f76313edcbb90852f9afdf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a9ccfef95210f92ba6feea6e8d1eef42b5605499", - "reference": "a9ccfef95210f92ba6feea6e8d1eef42b5605499", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/473a8c30e450d87099f76313edcbb90852f9afdf", + "reference": "473a8c30e450d87099f76313edcbb90852f9afdf", "shasum": "" }, "require": { @@ -9017,7 +9017,7 @@ "type": "github" } ], - "time": "2025-07-26T20:45:26+00:00" + "time": "2025-07-21T19:58:24+00:00" }, { "name": "phpunit/php-code-coverage",