Improve how package icons with an ico extension are rendered
See original GitHub issueHi there,
i just noticed that “ico” files aren’t displayed anymore.
This can be fixed by telling MagickImage
, via MagickReadSettings
, that it’s an “Ico”.
When doing so the image quality is very bad.
In case of “ico” the current image loading loads the first frame present in the “ico” which means it’s almost always 16x16.
I made some changes to improve the image quality on my machine.
Before:
After:
That’s the part for “ico” files.
“SVG” files don’t seem to be rendered/loaded correctly too. Currently this is what i get for Firefox:
Would you be interested in a PR changing the decoding of images to different kinds of decoders for different image formats?
My PR would only affect “ico” currently, as i am not familiar with MagickImage
and how to fix the wrong “SVG” rendering.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top GitHub Comments
Sure. Will create the PR later today. Wasted some time trying to figure out the svg issue, but couldn’t find a solution.
Ok. Will create a PR during the weekend.