# 将互联网图片转换成游戏的地图

请输入一下命令

```
/tomap <图片网页链接> resize <长度> <高度>

例子：/tomap <https://boba.cat/hentai.jpg> resize 16 9

意思就是将https://boba.cat/hentai.jpg这个jpg文件转换成16比9的地图
# 尺寸单位是游戏中一个方格
```

## 具体效果

![](/files/-MV6YV0YFRLI3bap5H8G)

这里我将图片转换成了16比9的尺寸

所以我搭了一个高9宽16的墙，并在墙上挂满物品展示框，然后点击左下角第一格展示框将图片地图挂上。

仅支持：jpg/png/gif格式的图片


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.boba.cat/jiang-tu-pian-zhuan-hua-wei-di-tu/jiang-hu-lian-wang-de-tu-pian-zhuan-huan-cheng-you-xi-de-di-tu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
