# 求助大神

**URL:** <https://live2dhub.com/t/topic/4524>\
**Category:** 讨论\
**Created:** [2025 年5 月 4 日 20:35 UTC](https://live2dhub.com/t/topic/4524 "2025-05-04T20:35:45Z")\
**Posts on this page:** 1\
**Showing post:** 54

<div class="post-metadata">

作者： ![VivaLaze](https://live2dhub.com/user_avatar/live2dhub.com/vivalaze/32/9221_2.png) [@VivaLaze](https://live2dhub.com/u/VivaLaze)\
发布日期： [2026 年10 月 19 日 11:43 UTC](https://live2dhub.com/t/topic/4524/54 "2026-10-19T11:43:57Z")

</div>

cc.ImageAsset

```auto
// 完整代码见 cc.js
const e = t.split("@"), // 按 "@" 分割
      s = parseInt(e[0], void 0), // 解析出格式 ID（数字）
      h = Td[s] || e[0], // 通过映射表 Td 将 ID 转为类型格式名

```

```auto
Td = [".png",".jpg",".jpeg",".bmp",".webp",".pvr",".pkm",".astc",];

```

> **实例**
>
> 以APK中的文件为例，bundle:55553dca971c40438a244cded1626d68
> 
> ![image](https://live2dhub.com/uploads/default/original/2X/e/e688aa23d8df38910196a73d0db9154285ea80d5.png)  
> 16个.astc，2个.png，1个.jpg，1个.pkm (793.6 KB)

```auto
cc.Asset --> gitkeep
cc.BufferAsset --> bin
cc.AudioClip --> mp3
cc.TiledMapAsset --> 

```

---

_[View the full topic](https://live2dhub.com/t/topic/4524)._
