# Generate Images

### 1. Download **Screenshot Basic**

Download the **screenshot-basic** script - ⚠️ please do not use any alternative.

[Click here to download screenshot-basic](https://github.com/citizenfx/screenshot-basic)

### 2. Download Screener

Download the **crm-screener** script:

[Click here to download crm-screener](https://drive.google.com/file/d/1jKngBc3oIj8uv0PDATc60m2npb7vnvx1/view?usp=sharing)

Place the folder directly inside your **resources** folder: (⚠️ Do **not** place it inside a sub-folder)

```
resources/
└── crm-screener
```

***

### 3. Prepare the Server

Before generating images:

* Stop your **weather script**
* Stop any **AFK scripts**
* Do **not** leave the server until the process is finished

***

### 4. Start Generation

Connect to your server and run the following command: `/crm_screen`

This will start generating all clothing images

Generated images will be saved in:

```
resources/crm-screener/crm-output
```

***

### 5. Convert Images

After the generation:

* All images will be in **.png** format
* To reduce file size, convert them to **.webp** using **XnConvert**

[Click here to download XnConvert](https://www.xnview.com/en/xnconvert/#downloads)

**Conversion Steps:**

1\) Open **XnConvert**

2\) Drag all files from the **crm-output** folder into the program

3\) Go to the **Output** tab and set the following

* Filename: `{Filename}` *(do NOT use `{Filename}_results`)*
* Output folder: Choose where the converted images will be saved
* Check Keep folder structure
* Check Keep parent folder
* Format: WEBP - WebP

<figure><img src="https://89778158-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGeEykcouWXOHssAi78qS%2Fuploads%2FcVwvnmBJnUhlWn7A1mEW%2Fxnconvert.jpg?alt=media&#x26;token=a451f8e1-32fd-4304-a631-2da3feaa65e0" alt=""><figcaption></figcaption></figure>

<p align="center"><mark style="color:$primary;">Click <strong>Convert</strong> and wait until the process completes</mark></p>

***

### 6. Copy Converted Files

After conversion, copy the following folders:

* `crm-faces`
* `crm-overlays`
* `crm-comps`
* `crm-props`

To your **crm-appearance** script:

```
crm-appearance/
└── crm-web/
    └── crm-files/
```


---

# 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://corem.gitbook.io/welcome/crm-appearance/generate-images.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.
