unused code removed

This commit is contained in:
Jindra Petk
2014-05-02 19:17:27 +02:00
parent f81db7ff4e
commit f92d25a1b1

View File

@@ -223,21 +223,7 @@ public class CanvasMorphShapeExporter extends MorphShapeExporterBase {
if (image != null) {
SerializableImage img = image.getImage();
if (img != null) {
colorTransform.apply(img);
String format = image.getImageFormat();
InputStream imageStream = image.getImageData();
byte[] imageData;
if (imageStream != null) {
imageData = Helper.readStream(image.getImageData());
} else {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
ImageIO.write(img.getBufferedImage(), format.toUpperCase(Locale.ENGLISH), baos);
} catch (IOException ex) {
}
imageData = baos.toByteArray();
}
//String base64ImgData = DatatypeConverter.printBase64Binary(imageData);
colorTransform.apply(img);
if (matrix != null) {
fillMatrix = matrix.clone();
fillMatrix.translateX /= unitDivisor;