package com.github.davidmoten.grumpy.wms;

import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;

import javax.imageio.ImageIO;

/**
 * Writes images using {@link ImageIO}.
 */
public class ImageWriterDefault implements ImageWriter {

    @Override
    public void writeImage(BufferedImage image, ByteArrayOutputStream os, String imageType)
            throws IOException {
        ImageIO.write(image, imageType, os);
    }

}

@@ -214,16 +214,259 @@
 mageIO%7D.
+ This can be a bit slow. Significant%0A * performance gains have been obtained using %3Ca%0A * href=%22http://objectplanet.com/pngencoder/%22%3EPNGEncoder%3C/a%3E). An implementation%0A * has not been included with grumpy because the library is not open source.
 %0A */%0Apub
@@ -629,20 +629,8 @@
 ype)
-%0A           
  thr

add javadoc