Removed the OutputStream / mimeType versions of saveAs that broke compiling
This commit is contained in:
parent
392265358a
commit
08b2a25561
1 changed files with 0 additions and 39 deletions
|
@ -455,45 +455,6 @@ public class ImageWrapper {
|
|||
generator.write(this, filename, quality, alpha);
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves the image. Image format is deduced from mimeType.
|
||||
*
|
||||
* @param out ...
|
||||
* @param mimeType ...
|
||||
* @throws IOException
|
||||
*/
|
||||
public void saveAs(OutputStream out, String mimeType)
|
||||
throws IOException {
|
||||
generator.write(this, out, mimeType, -1f, false); // -1 means default quality
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves the image. Image format is deduced from mimeType.
|
||||
*
|
||||
* @param out ...
|
||||
* @param mimeType ...
|
||||
* @param quality ...
|
||||
* @throws IOException
|
||||
*/
|
||||
public void saveAs(OutputStream out, String mimeType, float quality)
|
||||
throws IOException {
|
||||
generator.write(this, out, mimeType, quality, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves the image. Image format is deduced from mimeType.
|
||||
*
|
||||
* @param out ...
|
||||
* @param mimeType ...
|
||||
* @param quality ...
|
||||
* @param alpha ...
|
||||
* @throws IOException
|
||||
*/
|
||||
public void saveAs(OutputStream out, String mimeType, float quality, boolean alpha)
|
||||
throws IOException {
|
||||
generator.write(this, out, mimeType, quality, alpha);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the palette index of the transparent color for Images with an
|
||||
* IndexColorModel. This can be used together with
|
||||
|
|
Loading…
Add table
Reference in a new issue