.ICNS 文件扩展名

macOS Icon Resource

开发者 Apple
受欢迎程度
4.2  |  97 
 

什么是 ICNS 文件?

An ICNS file is an icon used by a macOS application. It contains one or more images of varying sizes, saved in the .TIFF format. ICNS files are primarily used as application icons and file type icons, which appear in the macOS Finder, desktop, and dock.

更多信息

在 Apple Preview 10 中打开的 .icns 文件截图
在 Apple Preview 10 中打开的 ICNS 文件

Most macOS applications include an identifying icon that allows you to quickly recognize the program in your Applications list and Launchpad. Apps also use file type icons that allow you to identify files that will open in that app. These icons are saved as ICNS files, stored in the .APP package's Contents/​Resources directory.

ICNS files are created from one or more .PNG files. These files may have dimensions of 16x16, 32x32, 48x48, 128x128, 256x256, 512x512, or 1024x1024 pixels. Storing multiple resoultions in an ICNS file allows macOS to show the icon correctly at different sizes. To create an ICNS file, developers:

  1. Create a folder that uses the .ICONSET extension.
  2. Place their PNG images, using filenames in the format icon_16x16.png, in the folder.
  3. Use the Terminal command iconutil -c icns path/to/iconset/folder to create the ICNS file.

An application's .PLIST file (Info.plist) references its ICNS files, using the CFBundleIconFile property.

注: ICNS files are similar to .ICO (Windows Icon) files.

如何打开 ICNS 文件

You can open an ICNS file in Apple Preview (macOS), XnViewMP (multiplatform), or Inkscape (multiplatform). Apple Preview will show you all the images your ICNS file contains; the other programs will not.

如何转换 ICNS 文件

You can use Apple Preview or Snap Converter to convert ICNS files to other formats. For example, Apple Preview can convert the images an ICNS file contains to the following formats:

  • .HEIC - High-Efficiency Image Compression
  • .JPEG - JPEG Image
  • .JPX - JPEG 2000 Image
  • .EXR - OpenEXR Image
  • .PDF - Portable Document Format
  • .PNG - Portable Network Graphic
  • .TIFF - Tagged Image File Format

In Apple Preview, you must convert the images an ICNS file contains individually. In Snap Converter, you can extract and convert all the images an ICNS file contains at once.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开或引用 ICNS 文件的程序

Windows
免费
免费
Microsoft File Explorer with the XnShell extension
操作系统自带
Mac
操作系统自带
免费
免费
免费
Linux
免费
免费
免费
分类: 系统
更新时间: 2022-06-27

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 macOS Icon Resource 文件格式和 Mac, Windows, and Linux 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们