Пример #1
0
    /** 构建透明
     *
     * path
     */
    public static void GenerateAlpha(string path)
    {
        string tarDir        = Path.GetDirectoryName(path);                           // 图集保存目录
        string delExtTarPath = tarDir + "/" + Path.GetFileNameWithoutExtension(path); // 去后缀文件路径

        ImageChannelSpliterWrapper.Execute(delExtTarPath);
    }
Пример #2
0
 private static void GenerateAlpha(string path)
 {
     ImageChannelSpliterWrapper.Execute(path);
     //ImportAsset(path + "_alpha.png");
 }