DFras2png

DFras2png — Convert Sun raster files in the study pages directory into PNG files

Synopsis

DFras2png {-s study_dir}

Description

DFras2png is used to convert Sun raster files in the study pages directory into PNG files. File names remain the same.

All recent versions of DFdiscover store images in PNG format rather than the Sun raster image format used in older versions. Converting the images to PNG format brings several advantages: smaller file sizes, color capability and better interoperability with other software. Very few packages can deal with the Sun raster file format.

Only files in the pages directory are converted. Any Sun raster image files in any of the other study directories are not touched. Any PNG files that exist in the pages directory are reported but are not re-converted. Any other files that are not Sun raster files are ignored. Study directories that are incorrectly specified or don't exist are reported. All reporting is written to stderr.

Options

-s study_dir

This is a required option. The study_dir is the full pathname to a study directory.

Exit Status

exits with one status:

0

The command was successful.

Examples

Example 4.10. Convert all Sun raster files in the pages directory found in the study directory /opt/studies/demo253 into PNG files

% DFras2png -s /opt/studies/demo253