Skip to content

Fix imagemagick - #336

Merged
nemchik merged 4 commits into
masterfrom
fix-imagemagick
Jul 12, 2026
Merged

Fix imagemagick#336
nemchik merged 4 commits into
masterfrom
fix-imagemagick

Conversation

@nemchik

@nemchik nemchik commented Jul 4, 2026

Copy link
Copy Markdown
Member

The main change here is using mogrify instead of convert. It seems like convert may be deprecated.

A side objective was simplifying the bash logic just a little bit to use a for loop instead of find, but this does call identify twice to get the width and height separately. IMHO it's slightly easier to read.

Lastly, the planka logo had something wrong with it that imagemagick didn't like, so I replaced that with a new copy from their repo.

Copilot AI review requested due to automatic review settings July 4, 2026 01:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@nemchik

nemchik commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

Probably on the right track here, but this seems to have broken some images (made them appear blank). Not sure why.

@nemchik
nemchik marked this pull request as draft July 4, 2026 01:42
@nemchik

nemchik commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

Fixed the blank images in c072ddc but now repeat runs modify all files every time.

@nemchik

nemchik commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Rox mentioned moving away from auto-resizing and instead just detect when images are larger than we want via GHA and fail the CI/CD.

Closing in favor of that idea.

@nemchik nemchik closed this Jul 6, 2026
@nemchik nemchik reopened this Jul 11, 2026
Signed-off-by: Eric Nemchik <eric@nemchik.com>
Signed-off-by: Eric Nemchik <eric@nemchik.com>
@nemchik
nemchik force-pushed the fix-imagemagick branch 7 times, most recently from cda114a to 02f612a Compare July 11, 2026 21:13
Signed-off-by: Eric Nemchik <eric@nemchik.com>
@nemchik
nemchik marked this pull request as ready for review July 12, 2026 16:31
@nemchik
nemchik merged commit 065d251 into master Jul 12, 2026
1 check passed
@nemchik
nemchik deleted the fix-imagemagick branch July 12, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants