gbr2greyscale web page logo

GBR2GREYSCALE is a raster image processor designed to convert the Gerber photo plotter format (RS274X) into a greyscale TIFF bitmap for use by image writers and machine vision and inspection equipment (AOI). It is similar to Artwork's GBR_RIP but includes several special features that are not a part of GBR_RIP.

gbr2greyscale RIP flow

These include:

Executable or Library

GBR2GREYSCALE is available as either an executable (controlled by a command line interface) or as a library in DLL format. This gives OEMs who wish to integrate the RIP into their own software maximum flexibility.

Command Line Syntax

The gbr2greyscale RIP executable is controlled by a command line using the following syntax:


                    [additional arguments]

[Additional Arguments]

-bmp                                Output BMP file format

-pack                               Output TIFF Packbits file

-tiff                               Output uncompressed TIFF file

-silent                             Disable popup messages

-keeptmp                            Keep temporary files

-unit:<inch|mm>                     argument units (default: inch)

-shrink:<dblval>                    Edge Shrink value (default: 0.0)

-chord_error:<dblval>               Chord error value

-circularize:<dblval>               after Boolean, recover arcs using
                                    the value supplied as the tolerance.

-thrnum:N                           number of concurrent threads

-super:<2|4|8|16>                   Super Sampling (default: 0)

-ram:<intval>                       Buffer Size MB (default: 256)

-dpi:<dblval>                       Dots per inch (default: 1024)

-dpm:<dblval>                       Dots per mm

-threshold:<intval,intval,intval>   Values in percent (grey scale)

-bandsize:<w>,<h>                   Band(tile) width and height in pixels

-bandoverlap:<x>,<y>                Band(tile) overlap in pixels

-window:<LLx,LLy,URx,URy>           Window extent

-aw:<left,right,bottom,top>         auto extents w. user specified margins

-inverse                            Inverse output polarity

-no_header                          Remove output header

-rotate:<dblval>                    Rotate

-mirror:<x|y>                       Mirror output
-margin:value                       Rip margin

-scale:value                        Rip scale

-warning                            Output Gerber Union warnings to log file

-scanonly                           returns data extents into a window

-nosplit                            suppresses both input file validation and
                                    G36/G37 shape compensation.

-nosplitshrink                      performs input file validation but suppresses 
                                    G36/G37 shape compensation.

-conditioning_retry:<num>           enables multiple passes of polygon "fixing" at the 
                                    front end for especially "dirty" input data such as those
                                    with multiple vertices at the same coordinate. Do not use 
                                    unless needed. A reasonable starting value for <num> = 2.

-gbrargs: < >                       arguments passed directly to the Gerber Union engine
 -thrnum:<intval>                   number of concurrent threads for the sizing engine
                                    overrides value on gbr2greyscale thrnum argument.

-ripargs: < >                       arguments passed directly to the RIP engine
 -thrnum:<intval>                   number of concurrent threads for the RIP
                                    limited to max of 4

-tiffargs: < >                      arguments passed directly to the tiff formatter
-erraswarn                          When set, dropped polygons will not cause the program 
                                    to fail.
-nowarn                             This option excludes conditioning warning (warning 
                                    messages from our split274x call) messages in the 
                                    log file. Errors will still appear in the log file.

-norip                              Does not create any RIP output and reports the image 
                                    info in the log file. 

417 Ingalls St. Unit C, Santa Cruz, CA 95060 831.426.6163  email: