public class IlvDefaultFileTileWriter extends Object
Constructor and Description |
---|
IlvDefaultFileTileWriter()
Constructs a
IlvDefaultFileTileWriter . |
Modifier and Type | Method and Description |
---|---|
float |
getJpegQuality()
Return the JPEG quality used to encode the image.
|
void |
setJpegQuality(float jpegQuality)
Sets the JPEG quality used to encode the image.
|
Object |
write(URL url,
BufferedImage image)
Writes the specified image as a JPEG file at the specified URL.
|
public IlvDefaultFileTileWriter()
IlvDefaultFileTileWriter
.public Object write(URL url, BufferedImage image)
url
- The file URL to write the image to.image
- The image to write.File
that as been written or null
if
a problem occurred.public float getJpegQuality()
public void setJpegQuality(float jpegQuality)
jpegQuality
- A number between 0 (low quality) and 1 (best quality) used to
encode the image.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.