Description Usage Arguments Value
Generates a resized, vertically-cropped preview version of the input PNG.
1 | previewPNG(inputFile, outputFile, width, cropHeight, res = 72)
|
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()) |
A resized, vertically-cropped preview version of the input PNG.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.