Repository navigation
Keep thin strokes when downscaling and rank sizeless touch icons as 180px - #1
Merged
Merged
Conversation
…80px thumbnailImage point-samples large reductions before resizing, which dropped a one pixel stroke in a third of all positions going from 192 to 32px; resize with Lanczos instead. An apple-touch-icon without a sizes attribute now counts as 180px so it outranks a small tab icon. Widens illuminate/* to ^13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nnot encode it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ImagickConverter::toSquare()usedthumbnailImage(), which for large reductions (e.g. 192 → 32px) point-samples the image before resizing. A 1px stroke vanished completely in 64 of 192 horizontal positions. It now resizes with a Lanczos filter and strips metadata.apple-touch-iconwithout asizesattribute had no size hint, so asizes="32x32"tab icon outranked a 180px touch icon. Sizeless touch icons now count as 180px.illuminate/*widened to^13.0, with Testbench 11 and Pest 4/5 allowed in dev.CI
guzzlehttp/guzzleis now a real requirement: the package calls Laravel's HTTP client, and CI on Laravel 10–12 failed without it (it was failing onmaintoo).Tests
🤖 Generated with Claude Code