Compare commits

..

2 commits

Author SHA1 Message Date
Benjamin Nussbaum
b4639b3ffb fix: reverts sharpening
Some checks are pending
tests / ci (push) Waiting to run
Issue with half-pixel values causing blurry fonts is fixed in Design Framework 1.2.0
2025-07-28 21:40:42 +02:00
Benjamin Nussbaum
7288fd7c6b chore: update dependencies 2025-07-28 21:35:07 +02:00
3 changed files with 25 additions and 28 deletions

View file

@ -125,9 +125,6 @@ class ImageGenerationService
$imagick->setImageType(Imagick::IMGTYPE_GRAYSCALE); $imagick->setImageType(Imagick::IMGTYPE_GRAYSCALE);
// Sharpen the image to make blurry text more defined
$imagick->sharpenImage(0.7, 0.5);
if ($quantize) { if ($quantize) {
$imagick->quantizeImage(2, Imagick::COLORSPACE_GRAY, 0, true, false); $imagick->quantizeImage(2, Imagick::COLORSPACE_GRAY, 0, true, false);
} }

View file

@ -12,7 +12,7 @@
"require": { "require": {
"php": "^8.2", "php": "^8.2",
"ext-imagick": "*", "ext-imagick": "*",
"bnussbau/laravel-trmnl-blade": "1.1.*", "bnussbau/laravel-trmnl-blade": "1.2.*",
"intervention/image": "^3.11", "intervention/image": "^3.11",
"keepsuit/laravel-liquid": "^0.5.2", "keepsuit/laravel-liquid": "^0.5.2",
"laravel/framework": "^12.1", "laravel/framework": "^12.1",

48
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "29d4db93339349a577b09a89a73769f5", "content-hash": "7aa9855bcbad922d5174715ff7877cd6",
"packages": [ "packages": [
{ {
"name": "aws/aws-crt-php", "name": "aws/aws-crt-php",
@ -62,16 +62,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.351.5", "version": "3.351.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "2f00efa2544d158ea366c1e1174097ef330ec883" "reference": "61bab063c6e3567942dcc4a2aac56155af22b6d5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2f00efa2544d158ea366c1e1174097ef330ec883", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/61bab063c6e3567942dcc4a2aac56155af22b6d5",
"reference": "2f00efa2544d158ea366c1e1174097ef330ec883", "reference": "61bab063c6e3567942dcc4a2aac56155af22b6d5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -153,22 +153,22 @@
"support": { "support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions", "forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.351.5" "source": "https://github.com/aws/aws-sdk-php/tree/3.351.8"
}, },
"time": "2025-07-23T18:04:16+00:00" "time": "2025-07-28T18:40:29+00:00"
}, },
{ {
"name": "bnussbau/laravel-trmnl-blade", "name": "bnussbau/laravel-trmnl-blade",
"version": "1.1.1", "version": "1.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bnussbau/laravel-trmnl-blade.git", "url": "https://github.com/bnussbau/laravel-trmnl-blade.git",
"reference": "a27dbce9203223591b3bbad46188ca3bf6c0af02" "reference": "be3ee30b86940eae32c3188f5a158b9334ceaf34"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bnussbau/laravel-trmnl-blade/zipball/a27dbce9203223591b3bbad46188ca3bf6c0af02", "url": "https://api.github.com/repos/bnussbau/laravel-trmnl-blade/zipball/be3ee30b86940eae32c3188f5a158b9334ceaf34",
"reference": "a27dbce9203223591b3bbad46188ca3bf6c0af02", "reference": "be3ee30b86940eae32c3188f5a158b9334ceaf34",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -223,7 +223,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/bnussbau/laravel-trmnl-blade/issues", "issues": "https://github.com/bnussbau/laravel-trmnl-blade/issues",
"source": "https://github.com/bnussbau/laravel-trmnl-blade/tree/1.1.1" "source": "https://github.com/bnussbau/laravel-trmnl-blade/tree/1.2.0"
}, },
"funding": [ "funding": [
{ {
@ -239,7 +239,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-07-14T18:37:41+00:00" "time": "2025-07-28T19:31:11+00:00"
}, },
{ {
"name": "brick/math", "name": "brick/math",
@ -3356,16 +3356,16 @@
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
"version": "v5.5.0", "version": "v5.6.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nikic/PHP-Parser.git", "url": "https://github.com/nikic/PHP-Parser.git",
"reference": "ae59794362fe85e051a58ad36b289443f57be7a9" "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ae59794362fe85e051a58ad36b289443f57be7a9", "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/221b0d0fdf1369c71047ad1d18bb5880017bbc56",
"reference": "ae59794362fe85e051a58ad36b289443f57be7a9", "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3408,9 +3408,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nikic/PHP-Parser/issues", "issues": "https://github.com/nikic/PHP-Parser/issues",
"source": "https://github.com/nikic/PHP-Parser/tree/v5.5.0" "source": "https://github.com/nikic/PHP-Parser/tree/v5.6.0"
}, },
"time": "2025-05-31T08:24:38+00:00" "time": "2025-07-27T20:03:57+00:00"
}, },
{ {
"name": "nunomaduro/termwind", "name": "nunomaduro/termwind",
@ -8963,16 +8963,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "2.1.19", "version": "2.1.20",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "473a8c30e450d87099f76313edcbb90852f9afdf" "reference": "a9ccfef95210f92ba6feea6e8d1eef42b5605499"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/473a8c30e450d87099f76313edcbb90852f9afdf", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a9ccfef95210f92ba6feea6e8d1eef42b5605499",
"reference": "473a8c30e450d87099f76313edcbb90852f9afdf", "reference": "a9ccfef95210f92ba6feea6e8d1eef42b5605499",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -9017,7 +9017,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-07-21T19:58:24+00:00" "time": "2025-07-26T20:45:26+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",