文章目录
1.图标格式ICON
-
- 1.图标格式ICON
- 2.manifest.xml文件
- 3.CEFCommandLine命令
- 4.作者答疑
CEP插件图标支持PNG-8格式,PNG-24在低版本不支持。标签的子标签可以设置扩展的图标,图标有 2 种类型 Normal 和DarkNormal,分别在 PhotoShop 的界面主题颜色为亮色和暗色时显示。另外你可以在xxx.png 图标文件所在目录放入xxx@2X.png 文件,在高清屏下 PhotoShop 会调用xxx@2X.png 文件。一般普通图标的尺寸为 23 x 23 而 xxx@2X.png 为它的 2 倍 46 x 46。
manifest.xml文件添加样式如下所示:
<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtensionBundleId="com.adobe.illustrator.MideaMainAILib" ExtensionBundleVersion="1.0.0" Version="5.0"> <ExtensionList> <Extension Id="com.adobe.illustrator.MideaMainAILib.panel" Version="1.0.0"/> <Icon Type="Normal">./img/logo.png关注打赏