🖼️
Pixray
  • Docs for Pixray
  • Introduction
    • Introduction to Pixray
  • Quickstart
    • Installation
    • Generating an Image
    • Using demo colabs
    • Generating online (without installation)
    • FAQ
  • Docs
    • Primary settings
    • Fine settings
    • Image control settings
    • Drawer Settings
    • Misc/Display settings
    • Losses
    • Functional video movements
    • Image filters
  • Tutorial
    • Changing drawers
    • Changing primary settings
    • Guiding output with prompts
    • Guiding output with images
    • Guiding output with losses
    • Guiding output with image filters (ColorMapper)
    • Making a video using generation frames
    • Making a video using functional movements
    • Making a video using different prompts (story mode)
    • Working with weaker machines
  • Advanced
    • Empirical testing - comparing output quality
    • Developing a custom loss
    • Developing a custom drawer
    • Developing a custom image filter
    • Developing a function video movement
    • Modifying Pixray
  • Future
    • make Image Filter subclass - colormapper as subclass
    • Guide video (move/story) within pixray
    • Batch run for images and video
Powered by GitBook
On this page
  • pixel
  • pixel_size
  • pixel_scale
  • pixel_type
  • vqgan
  • vqgan_model
  • clipdraw
  • strokes
  • min_stroke_width and max_stroke_width
  • line_drawer
  • strokes
  • stroke_length
  • min_stroke_width and max_stroke_width
  • allow_paper_color
  1. Docs

Drawer Settings

PreviousImage control settingsNextMisc/Display settings

Last updated 3 years ago

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.

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.

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

pixel_type
vqgan_model