BW-PNG 1 BRL-CAD BRL-CAD
bw-png convert a BRL BW(5) format image to a PNG (Portable Network Graphics) format image
`bw-png` -a -n file_height -w file_width -s squaresize BRLbwfile > PNG_file

## DESCRIPTION

`bw-png` converts a BRL BW(5) format file to a PNG format file on the standard output. The PNG file created will be a Gray scale file with a bit-depth of 8 and a file gamma of 1.0.

## OPTIONS

`-a`

  autosize the input file to determine file image height and width

`-n file_height`

  tells `bw-png` that the input is file_height scanlines tall

`-w file_width`

  tells `bw-png` that the input is file_width pixels wide

`-s squaresize`

  sets both the width and the height for the input to be squaresize

## AUTHOR

BRL-CAD Team

## COPYRIGHT

This software is Copyright (c) 1998-2024 by the United States Government as represented by U.S. Army Research Laboratory.

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org