question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve how package icons with an ico extension are rendered

See original GitHub issue

Hi 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: image

After: image

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: image

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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
batzencommented, Apr 5, 2020

Sure. Will create the PR later today. Wasted some time trying to figure out the svg issue, but couldn’t find a solution.

2reactions
batzencommented, Apr 1, 2020

Ok. Will create a PR during the weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Icons (Design basics) - Win32 apps
Icons are pictorial representations of objects, important not only for aesthetic reasons as part of the visual identity of a program, ...
Read more >
ICO (file format)
The ICO file format is an image file format for computer icons in Microsoft Windows. ... An icon library is a way to...
Read more >
Why don't .ico files created in Icon Composer work on ...
For a couple of months now I've been creating favicons using Icon Composer (which comes with Xcode). It can save .ico files, and...
Read more >
How to make/get a multi size .ico file? [closed]
Step 2 Open the image you want to convert to icon format by clicking the “Paint” toolbar tab and selecting “Open.”.
Read more >
How to Favicon in 2023: Six files that fit most needs
Step 2: Create an ICO file. Open your icon.svg file in a raster graphics editor. I recommend GIMP; it's free and multi-platform. Accept ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found