public class Transcoder
extends java.lang.Object
Constructor and Description |
---|
Transcoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
transcode(java.io.File input,
java.io.File output,
java.lang.String format)
Transcode the given input.
|
void |
transcode(java.io.File input,
java.io.File output,
java.lang.String format,
int index,
boolean readAsRenderedImage)
Transcode the given input.
|
public void transcode(java.io.File input, java.io.File output, java.lang.String format) throws TransformException
input
- The input file.output
- The output file.format
- The format of the resulting transformation.TransformException
- If an error occurred transcoding
the input file.public void transcode(java.io.File input, java.io.File output, java.lang.String format, int index, boolean readAsRenderedImage) throws TransformException
input
- The input file.output
- The output file.format
- The format of the resulting transformation.index
- The index of the image within the input file.readAsRenderedImage
- 'true' to read the input as a rendered
image, 'false' otherwise.TransformException
- If an error occurred transcoding
the input file.Copyright © 2010-2019 Planetary Data System. All Rights Reserved.