diff --git a/fine-itext-old/src/com/fr/third/com/lowagie/text/html/simpleparser/HTMLWorker.java b/fine-itext-old/src/com/fr/third/com/lowagie/text/html/simpleparser/HTMLWorker.java index e4048ae18..dedace0b8 100644 --- a/fine-itext-old/src/com/fr/third/com/lowagie/text/html/simpleparser/HTMLWorker.java +++ b/fine-itext-old/src/com/fr/third/com/lowagie/text/html/simpleparser/HTMLWorker.java @@ -478,28 +478,6 @@ public class HTMLWorker implements SimpleXMLDocHandler, DocListener { } - public BufferedImage GetBufferedImage(String base64string) - { - BufferedImage image = null; - try { - InputStream stream = BaseToInputStream(base64string); - image = ImageIO.read(stream); - } catch (IOException e) { - e.printStackTrace(); - } - return image; - } - - public InputStream BaseToInputStream(String base64string){ - ByteArrayInputStream stream = null; - try { - BASE64Decoder decoder = new BASE64Decoder(); - byte[] bytes1 = decoder.decodeBuffer(base64string); - stream = new ByteArrayInputStream(bytes1); - } catch (Exception e) { - } - return stream; - } public void endElement(String tag) { if (!tagsSupported.containsKey(tag))