|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.images.OutputSettings
public class OutputSettings
OutputSettings
represents the different settings to specify how
a particular transform or composite will return an Image
.
Constructor Summary | |
---|---|
OutputSettings(ImagesService.OutputEncoding outputEncoding)
|
Method Summary | |
---|---|
ImagesService.OutputEncoding |
getOutputEncoding()
Gets the output encoding. |
int |
getQuality()
Gets the quality. |
void |
setOutputEncoding(ImagesService.OutputEncoding outputEncoding)
Sets the output encoding. |
void |
setQuality(int quality)
Sets the quality of the returned image. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputSettings(ImagesService.OutputEncoding outputEncoding)
Method Detail |
---|
public ImagesService.OutputEncoding getOutputEncoding()
public void setOutputEncoding(ImagesService.OutputEncoding outputEncoding)
outputEncoding
- The encoding to set.public int getQuality()
public void setQuality(int quality)
quality
- The quality to set.
java.lang.IllegalArgumentException
- if quality is not between 1 and 100.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |