希望您可以提取计算机上存储的所有图标吗?你有没有想过你看到的所有这些图标实际上在哪里?在您的计算机上找到高质量的图标很困难,主要是因为应用程序将其图标直接存储在EXE(可执行)文件本身中,这间接地对您隐藏了这些图标。
在本文中,我将提到一些工具,您可以使用它们从计算机上已安装的应用程序中提取图标。您可以使用这些程序将图标文件保存为图像或不同大小的ICO文件。
图标提取
IconsExtract是一个免费软件应用程序,您可以使用它来自动查找存储在EXE、 DLL、 OCX、 CPL和其他文件类型中的图标。使用此程序后,您会惊讶于计算机上存储的实际图标数量!
该程序是一个独立的可执行文件,根本不需要任何安装,这意味着您可以轻松地在任何计算机上运行它!您还可以按图标或光标、图标大小甚至颜色深度(color depth)过滤搜索。
启动程序时,您有 2 个主要搜索选项:
扫描文件中的图标(Scan Icons in Files )– 例如:C:Windowssystem32shell32.dll – 这是加载程序时的默认值。(default value)
您可以在文本框中手动输入文件名,也可以通过单击“浏览文件”(Browse Files) 按钮从对话框中选择它。(dialog box)您还可以使用通配符(? 和 *)选择多个文件名。
除了文件之外,您还可以通过单击“浏览文件夹(Browse Folders)” 按钮来扫描文件夹。如果您选中搜索子文件夹(Search Subfolders) 复选框,主文件夹的所有子文件夹也将被扫描。例如,如果您单击浏览文件夹,选择 C:Program Files (x86),然后选中子文件夹框,您将能够在所有已安装程序的所有文件中搜索图标!
扫描选定进程中的图标(Scan Icons in Selected Processes)- 这是一个不错的选项,它仅列出计算机上当前正在运行的进程,并让您选择其中一个以从中提取图标。
搜索完成后,您会发现程序主窗口中显示的图标。然后,您可以通过选择要保存的图标,然后从“文件(File)”菜单中选择“保存选定的图标”,将图标保存到(Save Selected Icons)ICO文件中。(ICO)
您还可以通过按标准CTRL + C组合键将单个图标复制到剪贴板并将其粘贴(clipboard and paste)到另一个应用程序中。这将以 16×16 或 32×32 的标准尺寸复制图标。如果要复制不同的尺寸,请双击图标并在属性窗口中选择特定图像,然后单击复制选定图像(Copy Selected Image)。
BeCylconGrabber
不知道这个有趣的名字是怎么回事,但BeCylconGrabber是一个有用的小工具,用于从应用程序可执行文件中获取高质量图标。我比IconsExtract更喜欢这个程序,因为它有更好的界面和更干净的外观。我认为IconsExtract自 2010 年以来就没有更新过,所以那是很久以前的事了。
无论如何,这个程序也是可移植的,不需要安装。只需(Just)运行EXE 文件(EXE file),您将获得左侧三个选项卡和右侧一个预览窗口的(preview window)主程序窗口(program window)。
在目录(Directory)选项卡下,您可以浏览到单个文件并查看该特定DLL 或 EXE(DLL or EXE)的图标等。假设我想为Google Chrome获取一个漂亮的图标,我只需浏览到chrome.exe 文件(chrome.exe file)。
如您所见,预览窗口(preview window)列出了存储在该可执行文件中的图标的所有不同大小。要保存图标,请单击它,然后单击“保存”按钮(Save button)或双击该图标。您将获得一个自定义的保存对话框(save dialog),您可以在其中将其保存为具有所有不同大小和颜色深度的图标。
如果要将其保存为图像文件(image file),只需单击保存类型(Save as type) 框并将其更改(box and change)为BMP 或 PNG(BMP or PNG),然后选择格式。这就是您可以从特定文件中提取图标的方式。现在,如果您想扫描特定目录中的所有图标,请单击“搜索”(Search)选项卡,然后单击“新搜索”(New Search)按钮。
选择一个目录,然后选择是否递归搜索所有子目录。最小符号数意味着必须在文件中才能在搜索结果中显示的最少图标数。最大值(Max)设置为 10,000,这确实应该足够大。
如果您不单击(t click)左侧的任何内容,它会向您显示它找到的特定尺寸的所有图标。您还可以单击搜索结果中的特定文件,它只会显示该文件中的那些图标。最后,您可以选择一个图标,然后按“收藏夹(Favorites)”按钮,这会将其添加到“收藏夹”选项卡(Favorites tab)中,您可以轻松访问它们而无需再次搜索。
这些几乎是从应用程序文件(application file)中获取高质量图标的两个最佳程序。还有一些其他的程序可以工作,但它们只能让你提取 16×16 或 32×32 的大小,在我看来这没用。
现在您有了新图标,您可能希望使用它为您的闪存驱动器创建自定义图标。(custom icon)如果您在计算机上找不到好的图标,您可以将自己的图像转换为图标并使用它们!享受!
How to Extract Icons from EXE, DLL, OCX, and CPL Files
Wish you could extract all of icons stored on your computer? Have you ever wondered where all those iconѕ you see are actuаlly located? Finding high quality icons on your computеr is dіfficult and mostly becauѕe applications store their icоns dіrectly in the EXE (executable) file itself, which indireсtly hides those icons from you.
In this article, I’ll mention a couple of tools you can use to extract icons from the applications already installed on your computer. You can use these programs to save the icon files as images or as ICO files of different sizes.
IconsExtract
IconsExtract is a freeware application that you can use to automatically find icons that are stored in EXE, DLL, OCX, CPL, and other file types. You’ll be amazed at the actual number of icons stored on your computer after using this program!
The program is a standalone executable and does not require any installation at all, which means you can run it on any computer easily! You can also filter the search by icons or cursors, by icon size, and even by the color depth.
You have 2 main search options when you startup the program:
Scan Icons in Files – For example: C:\Windows\system32\shell32.dll – This is the default value when you load the program.
You can either manually type in the filename into the textbox, or select it from a dialog box by clicking the Browse Files button. You can also select multiple filenames by using wildcard characters (? and *).
In addition to just files, you can scan a folder by clicking the Browse Folders button. If you check the Search Subfolders checkbox, all of the subfolders of the main folder will also be scanned. For example, if you click browse folders, select C:\Program Files (x86)\ and then check the subfolders box, you’ll be able to search all files of all installed programs for icons!
Scan Icons in Selected Processes – This is a nice option that simply lists out the currently running processes on your computer and lets you choose one of them to extract icons from.
After the search is complete, you will find the icons displayed in the main window of the program. You can then save the icons into ICO files by selecting the ones you want to save and then choosing Save Selected Icons from the File menu.
You can also copy a single icon to the clipboard and paste it into another application by pressing the standard CTRL + C key combo. This will copy the icon in the standard dimensions of 16×16 or 32×32. If you want to copy a different size, double click on the icon and select the specific image in the properties window and click Copy Selected Image.
BeCylconGrabber
Not sure what’s up with the funny name, but BeCylconGrabber is a useful little tool for grabbing high quality icons from application executables. I like this program slightly better than IconsExtract because it has a nicer interface and cleaner look. I don’t think IconsExtract has been updated since 2010, so that’s quite a while back.
Anyway, this program is also portable and doesn’t require an installation. Just run the EXE file and you’ll get the main program window with three tabs on the left and a preview window on the right.
Under the Directory tab, you can browse to an individual file and see the icons for that particular DLL or EXE, etc. Let’s say I wanted to get a nice icon for Google Chrome, I would just browse to the chrome.exe file.
As you can see, the preview window lists out all the different sizes for the icon stored in that executable. To save the icon, click on it and then click the Save button or just double-click on the icon. You’ll get a customized save dialog where you can save it out as an icon with all the different sizes and color depths.
If you want to save it as an image file, just click on the Save as type box and change it to BMP or PNG and then choose of the formats. So that’s how you can extract icons from a particular file. Now if you wanted to scan for all the icons in a particular directory, you click on the Search tab and then click on the New Search button.
Choose a directory and then choose whether to recursively search all subdirectories or not. The min number of symbols means the lowest number of icons that have to be in a file for it to show in the search results. Max is set to 10,000 and that really should be large enough.
If you don’t click on anything on the left side, it’ll show you all the icons for that particular size that it found. You can also click on a particular file from the search results and it’ll show you just those icons from that file. Lastly, you can select an icon and then press the Favorites button, which will add it to the Favorites tab where you can easily access them without having to search again.
These are pretty much the two best programs getting good quality icons out of an application file. There are some other programs that work, but they only let you extract 16×16 or 32×32 sizes, which is useless in my opinion.
Now that you have your new icons, you might want to use it to create a custom icon for your flash drive. If you couldn’t find a good icon on your computer, you can convert your own images into icons and use those! Enjoy!