previewPNG: Create a preview of a PNG

Description Usage Arguments Value

View source: R/previewPNG.R

Description

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

Usage

1
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.


NanoStringQCPro documentation built on Nov. 8, 2020, 8:11 p.m.