Removed the OutputStream / mimeType versions of saveAs that broke compiling

This commit is contained in:
lehni 2004-09-06 16:25:39 +00:00
parent 392265358a
commit 08b2a25561

View file

@ -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