1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #2464 resolved

Mercurial icon does not look good

Peter Hull
created an issue

The mercurial icon (used for the Overlay Icon server) has a jagged edge (see picture.) I think it was ok on the previous THG version. I notice the icon file has been modified recently (commit 0fba38d)

TortoiseHg version: 2.7.1

OS: Windows XP/Windows 7

Comments (8)

  1. Peter Hull reporter

    It does still have the lower resolutions in the file (I checked with the 'identify' command from ImageMagick), I wonder if maybe the alpha channel has been suppressed or thresholded a bit wrongly, or maybe Windows is picking the wrong icon from the set? At larger sizes, yes, it looks beautiful!

  2. Yuya Nishihara

    icons: regenerate TortoiseHg icon to have 8bit alpha channel (refs #2464)

    According to the MSDN's guideline, it contains the following images in order:

    1. 4bpp, 1bit alpha, 32x32
    2. 4bpp, 1bit alpha, 16x16
    3. 8bpp, 1bit alpha, 32x32
    4. 8bpp, 1bit alpha, 16x16
    5. 32bpp, 8bit alpha, 128x128, PNG-compressed (for Vista or later)
    6. 32bpp, 8bit alpha, 64x64
    7. 32bpp, 8bit alpha, 48x48
    8. 32bpp, 8bit alpha, 32x32
    9. 32bpp, 8bit alpha, 16x16

    Rasterized thg_logo.svg by Inkscape, and built ico file by GIMP.

    → <<cset c075f4ef746c>>

  3. Log in to comment