* {@link com.alibaba.simpleimage.render.WriteRender#WriteRender(javax.media.jai.PlanarImage, java.io.OutputStream, java.lang.String)}
* .
*/
public void testWriteRenderPlanarImageOutputStreamString() throws Exception {
OutputStream output = null;
ImageRender wr = null;
try {
output = new FileOutputStream(new File(resultDir, "WRITE_st.jpg"));
wr = new WriteRender(getImage(), output);
wr.render();
} finally {
if (wr != null) {
wr.dispose();
}
IOUtils.closeQuietly(output);
}
}