博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mac系统u盘 系统图标_如何在Mac上提取高质量系统首选项图标
阅读量:2518 次
发布时间:2019-05-11

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

mac系统u盘 系统图标

mac系统u盘 系统图标

Apple Mac System Preferences Icon Hero

Sometimes, you need a high-quality icon of from Mac System Preferences for project, but you can’t find a good one online. Luckily, with a little digging, it’s easy to extract a perfect quality System Preference icon with a transparent background using only the Preview app. Here’s how.

有时,您需要Mac系统偏好设置中的高质量图标作为项目,但在线找不到一个好的图标。 幸运的是,通过一点点挖掘,仅使用“预览”应用程序即可轻松提取具有透明背景的完美质量的“系统偏好设置”图标。 这是如何做。

First, we’ll need to locate the actual files that represent the panes in System Preferences using Finder. With Finder active, select Go > Go to Folder from the menu bar at the top of the screen.

首先,我们需要使用Finder在“系统偏好设置”中找到代表窗格的实际文件。 在Finder处于活动状态的情况下,从屏幕顶部的菜单栏中选择“转到”>“转到文件夹”。

Click "Go To Folder" in Mac Finder.

In the “Go To Folder” window or slider that appears, type (or paste) /System/Library/PreferencePanes.

在出现的“转到文件夹”窗口或滑块中,键入(或粘贴) /System/Library/PreferencePanes

In the Go To Folder dialog, enter the path and click "Go."

A Finder window will appear that includes files that correspond with the default preference panes you see in System Preferences.

将出现一个Finder窗口,其中包含与您在“系统偏好设置”中看到的默认偏好设置窗格相对应的文件。

(Note: If you are looking for a third-party preference pane file, check /Library/PreferencePanes instead.)

(注意:如果要查找第三方首选项窗格文件,请改用/Library/PreferencePanes 。)

Mac Preference Pane files as seen in Finder.

Locate the file representing the preference pane from which you’d like to extract an icon. It should have a recognizable name. For example, “PrintAndScan.prefPane” is the file for “Printers & Scanners,” and “SoftwareUpdate.prefPane” is the file for “Software Update.”

找到代表您要从中提取图标的首选项窗格的文件。 它应该具有可识别的名称。 例如,“ PrintAndScan.prefPane”是“打印机和扫描仪”的文件,而“ SoftwareUpdate.prefPane”是“软件更新”的文件。

Each “.prefPane” file is actually a special type of folder called a “package.” We’re going to open up that package and see the resources inside.

每个“ .prefPane”文件实际上都是一种特殊的文件夹,称为“包”。 我们将打开该程序包并查看其中的资源。

Once you find the preference pane file, right-click it and select “Show Package Contents.”

找到首选项窗格文件后,右键单击它,然后选择“显示软件包内容”。

Right-click the preference pane file and select "Show Package Contents."

The app package will open, and you’ll see a “Contents” folder. Open it, and within “Contents,” you’ll encounter several folders and files. Locate the “Resources” folder and open it.

该应用程序包将打开,您将看到一个“目录”文件夹。 打开它,在“目录”中,您将遇到几个文件夹和文件。 找到“资源”文件夹并打开它。

In Finder on Mac, click the "Resources" folder.

Browse within the Resources folder and look for an “.icns” file with a similar name to the preference pane you’re examining. For example, “SoftwareUpdate.prefPane” includes a file called “SoftwareUpdate.icns.” This is an icon package file that contains different-sized icons for the prefernce pane. Double-click it, and it will open in Preview.

在“资源”文件夹中浏览,并查找与您正在检查的首选项窗格名称相似的“ .icns”文件。 例如,“ SoftwareUpdate.prefPane”包括一个名为“ SoftwareUpdate.icns”的文件。 这是一个图标包文件,其中包含用于首选项窗格的不同大小的图标。 双击它,它将在“预览”中打开。

In Finder on Mac, locate and click on the appropriate ICNS file.

In Preview, you’ll see that the “.icns” file includes icons in multiple sizes. The largest one will be at the top of the list in the pane on the left. Click to select it.

在“预览”中,您将看到“ .icns”文件包含多种尺寸的图标。 最大的一个将在左侧窗格的列表顶部。 单击以选中它。

Click the largest icon in Preview on Mac.

Once you’ve selected the largest icon, click File > Export in the menu bar.

选择最大的图标后,在菜单栏中单击文件>导出。

In Preview on Mac, select "Export" from the "File" menu.

When the Export dialog appears, enter a file name and choose a save location. Next, you’ll need to decide an image format. If you want the highest quality image with a transparent background, select “PNG” from the list. (Make sure the “Alpha” option is checked, because this ensures that the PNG will have a transparent background.)

出现“导出”对话框时,输入文件名并选择一个保存位置。 接下来,您需要确定图像格式。 如果要使用透明背景的最高质量图像,请从列表中选择“ PNG”。 (确保选中“ Alpha”选项,因为这可以确保PNG具有透明背景。)

Then click “Save.”

然后点击“保存”。

While exporting from preview, enter the file name and click "Save."

Preview will save the icon you chose as a transparent PNG file. After that, close Preview, and you’ll find the new PNG file waiting where you saved it. Very handy!

预览会将您选择的图标保存为透明的PNG文件。 之后,关闭“预览”,您将在保存新PNG文件的地方找到它。 非常便利!

翻译自:

mac系统u盘 系统图标

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

你可能感兴趣的文章
【loj6038】「雅礼集训 2017 Day5」远行 树的直径+并查集+LCT
查看>>
十二种获取Spring的上下文环境ApplicationContext的方法
查看>>
UVA 11346 Probability 概率 (连续概率)
查看>>
linux uniq 命令
查看>>
Openssl rand命令
查看>>
HDU2825 Wireless Password 【AC自动机】【状压DP】
查看>>
BZOJ1015: [JSOI2008]星球大战starwar【并查集】【傻逼题】
查看>>
HUT-XXXX Strange display 容斥定理,线性规划
查看>>
mac修改用户名
查看>>
一道关于员工与部门查询的SQL笔试题
查看>>
Canvas基础
查看>>
[Hive - LanguageManual] Alter Table/Partition/Column
查看>>
可持久化数组
查看>>
去除IDEA报黄色/灰色的重复代码的下划波浪线
查看>>
Linux发送qq、网易邮件服务配置
查看>>
几道面试题
查看>>
【转】使用 WebGL 进行 3D 开发,第 1 部分: WebGL 简介
查看>>
js用正则表达式控制价格输入
查看>>
chromium浏览器开发系列第三篇:chromium源码目录结构
查看>>
java开发操作系统内核:由实模式进入保护模式之32位寻址
查看>>