Skip to content

fix(image): process png images through magick if available - #2952

Open
madmaxieee wants to merge 1 commit into
folke:mainfrom
madmaxieee:downscale-png
Open

fix(image): process png images through magick if available#2952
madmaxieee wants to merge 1 commit into
folke:mainfrom
madmaxieee:downscale-png

Conversation

@madmaxieee

Copy link
Copy Markdown
Contributor

Description

Ensure that image files are downscaled with ImageMagick when magick is available, even if the file extension is already png. Rendering a full high res PNG screenshot without downscaling would often get to over 50MB for the raw RGBA data. This may cause lag on the terminal emulator. This new behavior is also less surprising by enforcing the "default" convert command on png, which is documented as "default for raster images".

Related Issue(s)

Screenshots

Ensure that image files are downscaled with ImageMagick when magick is
available, even if the file extension is already png.
@github-actions github-actions Bot added image size/s Small PR (<10 lines changed) labels Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

image size/s Small PR (<10 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant