> For the complete documentation index, see [llms.txt](https://dazhizhong.gitbook.io/pixray-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dazhizhong.gitbook.io/pixray-docs/docs/drawer-settings.md).

# Drawer Settings

Currently there are four drawers

## pixel

### `pixel_size`

Pixel size determines how many pixels in rows and columns this pixel art image has. For example a specification of `pixel_size=[100,200]` generates a 100x200 pixel image, increasing `size` increases the size of the output, but not number of pixels.

### `pixel_scale`

This is a scaling multiplier on the ***size*** of the pixels of the image. The final number of pixels equals `pixel_size/pixel_scale`.

### `pixel_type`

Pixel type can be one of `rect`, `rectshift`, `tri`, `diamond`, `hex`, and `knit`.

![pixel\_type](/files/zq1UzfeMvDK2SuS2ZRtk)

## vqgan

### `vqgan_model`

One of these:

```
"imagenet_f16_1024" 
"imagenet_f16_16384"
"imagenet_f16_16384m"
"openimages_f16_8192"
"coco"
"faceshq"
"wikiart_1024"
"wikiart_16384"
"wikiart_16384m"
"sflckr"
```

Seems like these three have limited differences (all three seems to be labeled general images), faceshq and sflckr should be tested sometime soon.

![vqgan\_model](/files/vnLphpIH8q0YeTAZPgH9)

## clipdraw

### `strokes`

number of strokes, default=1024.

### `min_stroke_width` and `max_stroke_width`

stroke thickness, percentage of image height. default=1 and 5

## line\_drawer

### `strokes`

default=24

### `stroke_length`

defualt=8

### `min_stroke_width` and `max_stroke_width`

default=0.5 and 2

### `allow_paper_color`

default=False, allows change in color of background


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://dazhizhong.gitbook.io/pixray-docs/docs/drawer-settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
