从*.EXE文件中提取图标: WineIcons

使用 WINE 的朋友有时会遇到这样的问题:应用程序的图标包含到 EXE 可执行文件里了,没法单独提取。尽管现在 WINE 可以截获在安装过程中生成的图标文件,但面对有些没有安装程序的绿色软件就没有办法。WineIcons 这个小工具可以解决从可执行文件中提取图标的问题。

WineIcons 是一款专门为 WINE 设计的 Win32 应用程序,可以从 ICO、EXE 和 DLL 文件中提取图标并直接保存成所有桌面环境都支持的 PNG 格式,支持图标透明,支持调节生成 PNG 文件的平缓度。面对有些单个可执行文件中包含多个图标文件的情况也能很好的支持。尽管它是一款需要 WINE 才能运行的程序,但是作者提供了方便的安装脚本,可以集成到系统中。如果不再需要了,也有方便的卸载脚本可用。

WineIcons 在 GPL 协议下发布,二进制版本用合法的 Borland Delphi 5 Standard 编译。 主界面截图:

官方主页 SourceForge 下载

Read More:

  • No related posts

10 Comments

  1. 1 布谷鸟 Commented @ 2008-12-06 14:50Reply to this comment

    这个不错,刚刚wine了ie4linux

  2. 2 gcell Commented @ 2008-12-06 15:03Reply to this comment

    只是提取,还是可以直接应用图标到wine程序?

  3. 3 cnlions Commented @ 2008-12-06 16:44Reply to this comment

    2楼的要求高了点。看界面应该只是提取图标了。

  4. 4 LD Commented @ 2008-12-06 17:43Reply to this comment

    不错 png格式正好

  5. 5 雪梨 Commented @ 2008-12-06 18:08Reply to this comment

    gnome nautilus 倒是可以用注册预览脚本的方式来实现 exe 图标

  6. 6 Jing Commented @ 2008-12-06 18:32Reply to this comment

    ResHacker挺好用的

  7. 7 ruiuan Commented @ 2008-12-06 21:39Reply to this comment

    可以尝试一下,我的几个exe的图标都是中间那个……

  8. 8 雪梨 Commented @ 2008-12-07 0:08Reply to this comment

    winegcc 下可以用这提取第一个图标

    include

    include

    int main(int argc, char **argv){ save_icon( ExtractIcon(0, argv[1], 0), argv[2]); }

    然后可以注册给 nautilus 或 thunar 作为缩略图钩子

  9. 9 nasofe Commented @ 2008-12-07 3:28Reply to this comment

    我想要一个提取 linux 程序图标的.这样就可以方便的为 avant-window-navigator 配置图标了.不知道有没有这种东西. 还有 kde4 里面那个拼写检查怎么关掉,我用的是 opensuse 11.0

  10. 10 黑日白月 Commented @ 2008-12-08 9:31Reply to this comment

    @nasofe 你在 /usr/share/pixmaps 里找不到图标么?一般 Linux 程序的图标都在那里。