View source: R/EVExportEchogramToImage.R
EVExportEchogramToImage | R Documentation |
This function exports an Echoview acoustic variable to an image file.
EVExportEchogramToImage(
EVFile,
acoVarName,
filePath,
heightInPixels,
pingRange = c(-1, -1)
)
EVFile |
Echoview file COM object |
acoVarName |
The acoustic variable name to export |
filePath |
Path and filename for the resulting image file. The image type is controlled here by specifying the desired extension, e.g. *.jpg |
heightInPixels |
Vertical resolution of exported image in pixels. NB Echoview requires a 25 pixel minimum vertical resolution |
pingRange |
=c(-1,1) Optional ping range over which to export the Echoview line object. Default is to export the lien for all pings |
The following image types are available: *.bmp, *.jpg, *.jpeg, *.png, *.tif, *.tiff.
List of length two [1] Boolean flag indicating success or failure of export, and [1] message vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.