home
about
usage
settings
Settings
RasterPro is highly customizable. Each setting has a default value and can be ignored. Below is a complete list of settings.

SOURCE_IMAGE
Path to source image.
Default source image is gray square.
RASTER_TYPE
Halftone pattern name.
Allowable values: "circle", "circle2", "ring", "ring2", "square", "square2", "triangle", "triangle2", "rhomb", "rhomb2", "hexagon", "line", "cell".
Default value is "circle".
RASTER_ANGLE
Number defining the raster line rotation. Measured in degrees.
Min value is -90. Max value is 90. Default value is 45.
DOT_SIZE
Raster dot size. Measured in pixels.
Min value is 1. Default value is 10.
LINE_SMOOTHING
Line smoothing of "line" and "cell" patterns. To render without smoothing set value to 0.
Default value is 3.
CANVAS_COLOR
Canvas color.
Default value is "white".
DOT_COLOR
Raster dot color.
Default value is "black".
DOT_COLOR_RANDOMIZATION
Dot color randomization.
Min value is 0. Max value is 1. Default value is 0.
DOT_COLOR_R_RANDOMIZATION
Randomization of dot color R-component.
Min value is 0. Max value is 1. Default value is 1.
DOT_COLOR_G_RANDOMIZATION
Randomization of dot color G-component.
Min value is 0. Max value is 1. Default value is 1.
DOT_COLOR_B_RANDOMIZATION
Randomization of dot color B-component.
Min value is 0. Max value is 1. Default value is 1.
CANVAS_WIDTH
Output image width. Measured in pixels.
Default value depends on CANVAS_HEIGHT. If CANVAS_HEIGHT specified, CANVAS_WIDTH will be calculated according to source image aspect ratio. Else CANVAS_WIDTH will be set equal to source image width.
CANVAS_HEIGHT
Output image height. Measured in pixels.
Default value depends on CANVAS_WIDTH. If CANVAS_WIDTH specified, CANVAS_HEIGHT will be calculated according to source image aspect ratio. Else CANVAS_HEIGHT will be set equal to source image height.
SCALE_MODE
Defines how halftone image scale depends on DIV size. Allowable values: "cover", "fit", "none".
Default value is "fit".
BRIGHTNESS
Source image brightness.
Min value is 0. Max value is 1. Default value is 0.5.
CONTRAST
Source image contrast.
Min value is 0. Max value is 1. Default value is 0.5.
INVERT
Defines whether to invert the source image. Allowable values: true and false.
Default value is false.
ALLOW_TURBO_RENDERING
Defines whether to render at the maximum possible speed. Allowable values: true and false.
Default value is false.
SHOW_RENDERING_PROGRESS
Defines whether to display halftone image during rendering. Allowable values: true and false.
Default value is false.
USE_PRELOADER
Defines whether to display preloader animation. Allowable values: true and false.
Default value is true.
PRELOADER_COLOR
Preloader color.
Default value is "gray".
PRELOADER_SIZE
Preloader size. Measured in pixels.
Min value is 4. Default value is 40.