git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193383
13f79535-47bb-0310-9956-
ffa450edef68
// Java
import java.util.Hashtable;
import java.net.URL;
-import java.io.IOException;
+import java.io.*;
//import java.io.PrintWriter;
import java.awt.image.*;
import java.awt.*;
protected void getImage() throws FopImageException {
int[] tmpMap = null;
try {
- ImageProducer ip = Jimi.getImageProducer(this.m_href, Jimi.SYNCHRONOUS | Jimi.IN_MEMORY);
+ ImageProducer ip = Jimi.getImageProducer(this.m_href.openStream(), Jimi.SYNCHRONOUS | Jimi.IN_MEMORY);
FopImageConsumer consumer = new FopImageConsumer(this);
ip.startProduction(consumer);