Learn R Programming

NanoStringQCPro (version 1.4.0)

previewPNG: Create a preview of a PNG

Description

Generates a resized, vertically-cropped preview version of the input PNG.

Usage

previewPNG(inputFile, outputFile, width, cropHeight, res = 72)

Arguments

inputFile
Input PNG filename
outputFile
Output PNG filename
width
Width (in pixels) for the preview image
cropHeight
Height (in pixels) for the preview image (if the rescaled input is larger than this, it will be cropped)
res
Output PNG resolution (passed to the `res' argument of png())

Value

A resized, vertically-cropped preview version of the input PNG.