Hot File

Windows Vista Icons

View: 482    Dowload: 0   Comment: 0   Post by: naruto  
Author: none   Category: Icons   Fields: Other

3 point/3 review File has been tested

Download   windows-vista-icons.rar (100.90 KB)

You need to Sign In to download the file windows-vista-icons.rar
If you do not have an account then Sign up for free here

Download error   Report copyright violation

This article describes the basic differences between Windows XP and Windows Vista icons and explains how to use Vista icons in your applications.

Introduction

This article describes the basic differences between Windows XP and Windows Vista icons and explains how to use Vista icons in your applications.

Vista icons

Four years ago, Microsoft extended the .ico format and allowed 32bit RGBA images (with 8bit alpha channel) inside .ico files. These icons are known as Windows XP icons and are easily recognized by their smooth antialiased edges.

Beta 1 and Beta 2 of Windows Vista indicate that Microsoft is going to make another change to the .ico format. Icons in current Vista builds differ in two aspects from Windows XP icons:

  • Vista icons contain large high-resolution 256x256 images
  • The large images are stored using PNG compression

The use of PNG compression is a breaking change. Windows XP and previous are only able to use those images from an icon that are not compressed.

The icon format allowed to use 256x256 images before, so why did Microsoft introduce the PNG compression? We can only guess, but since the uncompressed icon with all Vista formats occupies more then 400kB, the answer is obvious.

Windows Vista Explorer uses the hi-res image and dynamically resamples them to required resolution.

Problems compiling Vista icons

If you try to compile a Vista icon into application resources using Visual Studio resource compiler, the tool aborts with error and refuses to accept the icon in Vista format. This error is reported from all versions of Visual Studio including VS 2005.

How to use the tool

The tool accompanying this article is able to replace or add an icon to an already compiled executable. It has an easy command line interface and can be configured to run as a post-build step in Microsoft Visual Studio.

Parameters

ReplaceVistaIcon.exe executable.dll icon.ico [icon_ID [language_code]]

The command will replace or add icon.ico to executable.dll. The icon will be replaced if you specify icon_ID, otherwise it will be added to the list of icons.

Implementation

The tool does not modify the executable directly. Instead it uses Win32 API for resource manipulation and works under all NT-based systems. There should be no compatibility problems, because it links the static version of C runtime.

The implementation is pretty straightforward, the tool:

  • Reads and analyzes the icon
  • Enumerates icon resources in the executable (icon resource is actually a bit more complicated than other kinds of resources, because it consists of an icon directory, that holds the references to images, and the actual images)
  • Optionally removes the icon that is being replaced
  • Adds the new icon into the executable

 

Points of Interest

I used the tool on itself and the compiled executable already contains a Vista-compatible icon (the one on the picture).

History

  • 1.0 - posted on May 4th, 2006

Conclusion

Vista is still in beta phase and Microsoft will likely resolve the problems with resource compiler by the time Vista is released making this tool obsolete. (What compiler is Microsoft using to compile Windows Vista anyway?)

Still, Microsoft may not issue a patch for all versions of their development environments and there are plenty of third party Windows compilers, so the tool may find its place even after Microsoft addresses the issue.

Windows Vista delivers stunning visual capabilities and the new, hi-res icons are an inseparable part of it. Exploring and exploiting new concepts of Vista is an exciting experience, especially for someone like me, who is involved in development of icon authoring software.

Windows Vista Icons

Windows Vista Icons Posted on 22-03-2014  This article describes the basic differences between Windows XP and Windows Vista icons and explains how to use Vista icons in your applications. 1/10 482

Comment:

To comment you must be logged in members.

Files with category

  • Share Social Flat icons

    View: 811    Download: 2   Comment: 0   Author: none  

    Share Social Flat icons

    Category: Icons
    Fields: Other

    0/6 review
    Share Social Flat icons

  • Share 150+ Outline Vector Icons Pack

    View: 909    Download: 3   Comment: 0   Author: none  

    Share 150+ Outline Vector Icons Pack

    Category: Icons
    Fields: Other

    1.125/4 review
    Share 150+ Outline Vector Icons Pack

  • Share Set 30 vector icon RSS

    View: 1384    Download: 0   Comment: 0   Author: none  

    Share Set 30 vector icon RSS

    Category: Icons
    Fields: Other

    0/3 review
    Share Set 30 vector icon RSS

  • Social Icon Bars

    View: 3241    Download: 4   Comment: 0   Author: none  

    Social Icon Bars

    Category: Icons
    Fields: Other

    0/7 review
    Button link to social networks is a critical component of its Photoshop website.Trong series have synthesize a button created with Photoshop tutorial, however not everyone is fluent in photoshop or hard to follow that tutorial: v.Neu you oblivious...

  • Iconizer

    View: 739    Download: 0   Comment: 0   Author: none  

    Iconizer

    Category: Icons
    Fields: Computers - Technology

    0/3 review
    Iconizer is a small utility that installs a system-wide hook to provide an extra caption button next to the minimize/maximize/close buttons on exsiting applications. This button minimizes an application, removes the icon window out of the taskbar...

  • IconHandler

    View: 598    Download: 0   Comment: 0   Author: none  

    IconHandler

    Category: Icons
    Fields: Other

    0/2 review
    IconHandler is a class for getting icons from files and the default associated icons by the extension of the file.

  • Adding Icons to the System Tray

    View: 778    Download: 0   Comment: 0   Author: none  

    Adding Icons to the System Tray

    Category: Icons
    Fields: Other

    0/2 review
    CSystemTray is a conglomeration of ideas from the MSJ "Webster" application, sniffing round the online docs, from other implementations such as PJ Naughter's "CTrayNotifyIcon" ( http://indigo.ie/~pjn/ntray.html), and from the many contributions...

  • Windows Vista Icons

    View: 482    Download: 0   Comment: 0   Author: none  

    Windows Vista Icons

    Category: Icons
    Fields: Other

    0.5/3 review
    This article describes the basic differences between Windows XP and Windows Vista icons and explains how to use Vista icons in your applications.

 
Newsletter Email

File suggestion for you

File top downloads

logo codetitle
Codetitle.com - library source code to share, download the file to the community
Copyright © 2015. All rights reserved. codetitle.com Develope by Vinagon .Ltd