From 08b2a2556130dd68bec4d844ab28d3f9e4b192b7 Mon Sep 17 00:00:00 2001 From: lehni Date: Mon, 6 Sep 2004 16:25:39 +0000 Subject: [PATCH] Removed the OutputStream / mimeType versions of saveAs that broke compiling --- src/helma/image/ImageWrapper.java | 39 ------------------------------- 1 file changed, 39 deletions(-) diff --git a/src/helma/image/ImageWrapper.java b/src/helma/image/ImageWrapper.java index cc50e72e..0befb194 100644 --- a/src/helma/image/ImageWrapper.java +++ b/src/helma/image/ImageWrapper.java @@ -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