博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何从Windows EXE文件中提取图标
阅读量:2507 次
发布时间:2019-05-11

本文共 3282 字,大约阅读时间需要 10 分钟。

Windows 10 Icons

Sometimes you’re working on a project and need access to a high-quality version of a Windows 10 application icon, but you can’t find one on the internet. Luckily, a free utility called makes it easy to extract a high-quality icon from an application’s EXE file. Here’s how.

有时,您正在一个项目上,需要访问Windows 10应用程序图标的高质量版本,但在Internet上找不到一个。 幸运的是,一个名为的免费实用工具使从应用程序的EXE文件提取高质量图标的变得容易。 这是如何做。

First, from the developer’s website and install it. It’s important to note that IconViewer doesn’t run in a standalone program window. Instead, it adds a special tab to a file’s Properties window that lets you view and extract a program’s icon of your choice.

首先,从开发人员的网站上并进行安装。 请务必注意,IconViewer不能在独立的程序窗口中运行。 相反,它在文件的“属性”窗口中添加了一个特殊的选项卡,可让您查看和提取所选程序的图标。

For IconViewer to work, you need to have direct access to the EXE file of the application you’d like to extract an icon from. Here’s a quick way to do that: If you have access to a shortcut that points to the application, right-click it and select “Properties.” Then click “Open File Location” in the “Shortcut” tab, and you’ll be taken directly to the EXE’s location in File Explorer.

为了使IconViewer正常运行,您需要直接访问您要从中提取图标的应用程序的EXE文件。 这是一种快速的方法:如果您有权访问指向该应用程序的快捷方式,请右键单击它,然后选择“属性”。 然后在“快捷方式”选项卡中单击“打开文件位置”,您将直接进入文件资源管理器中EXE的位置。

To find an application's EXE file, right-click a shortcut and click "Open File Location" in the Properties window on Windows 10.

Otherwise, you can usually find an application’s EXE file in sub-folders of C:\Program Files or C:\Program Files (x86).

否则,通常可以在C:\Program FilesC:\Program Files (x86)子文件夹中找到应用程序的EXE文件。

When you’ve found the application’s EXE file, right-click it and select “Properties.”

找到应用程序的EXE文件后,右键单击它,然后选择“属性”。

Right-click the EXE file and select "Properties" in File Explorer on Windows 10.

In the Properties window, click the “Icons” tab. This is a special tab that only appears if you install the IconViewer utility.

在“属性”窗口中,单击“图标”选项卡。 这是一个特殊的选项卡,仅在安装IconViewer实用程序后才会显示。

In the EXE Properties window on Windows 10, click the special IconViewer "Icon" tab.

In the Icons tab, you will see a box listing all of the available icons stored in the EXE file. Some icons will be stored in multiple sizes. In Windows 10, the largest available icon will usually be listed as “256×256, 32-bit (PNG)” in the Icons tab.

在“图标”选项卡中,您将看到一个框,其中列出了EXE文件中存储的所有可用图标。 某些图标将以多种尺寸存储。 在Windows 10中,最大的可用图标通常将在“图标”选项卡中列为“ 256×256,32位(PNG)”。

Click the icon you’d like to extract, and select the size of the icon in the “Device images” box. Then click the “Save” icon, which looks like a vintage .

点击您要提取的图标,然后在“设备图像”框中选择图标的大小。 然后单击“保存”图标,它看起来像老式的 。

In the IconViewer "Icons" tab, select the icon, select the icon size, then click the save icon.

When the “Save As” dialog pops up, choose the location where you’d like to save it, then type in a file name.

当“另存为”对话框弹出时,选择您要保存的位置,然后输入文件名。

Next, choose the extracted icon’s file format in the “Save As Type” drop-down menu. You can pick “Icon (*.ico),” “Bitmap Image (*.bmp),” or “PNG Image (*.png).” If you’re going to be using the icon with another program, pick “Icon (*.ico).” If you’ll be using the icon in a graphic design project and would like to preserve background transparency, choose “PNG Image (*.png).”

接下来,在“另存为类型”下拉菜单中选择提取的图标的文件格式。 您可以选择“图标(* .ico)”,“位图图像(* .bmp)”或“ PNG图像(* .png)”。 如果要在其他程序中使用该图标,请选择“图标(* .ico)”。 如果要在图形设计项目中使用该图标,并且希望保留背景透明性,请选择“ PNG图像(* .png)”。

Then click “Save.”

然后点击“保存”。

In the icon save dialog, type the name, select a file type, and click "Save."

After that, the icon will be extracted and saved to the location you chose. You’re free to close the EXE file’s properties window, or extract different icons from the same file. Very handy!

之后,将提取图标并将其保存到您选择的位置。 您可以自由关闭EXE文件的属性窗口,也可以从同一文件中提取不同的图标。 非常便利!

翻译自:

转载地址:http://sgwwd.baihongyu.com/

你可能感兴趣的文章
WebServicer接口类生成方法。
查看>>
POJ 1740
查看>>
【翻译】火影忍者鸣人 疾风传 终级风暴2 制作介绍
查看>>
http和webservice
查看>>
hdu1879------------prim算法模板
查看>>
jdbc之二:DAO模式
查看>>
MySQL性能优化方法一:缓存参数优化
查看>>
如何捕获 System.loadLibrary 产生的异常?(转)
查看>>
Jmeter4.0安装
查看>>
Angular2 - 概述
查看>>
正则表达式tab表示\t
查看>>
NodeJS+Express+MongoDB 简单实现数据录入及回显展示【Study笔记】
查看>>
随心-随想 -谁是我的女主角 -《我的女主角是你》
查看>>
session使用
查看>>
公益筹模板
查看>>
android UI进阶之实现listview的分页加载
查看>>
hdu 2066 一个人的旅行 解题报告
查看>>
完美获取浏览器滚动条卷去的高度
查看>>
PID参数整定快速入门(调节器参数整定方法)
查看>>
[Effective JavaScript 笔记]第39条:不要重用父类的属性名
查看>>