*/
package org.xwt.translators;
-import org.xwt.*;
-import org.xwt.util.*;
+import org.ibex.*;
+import org.ibex.util.*;
import java.io.BufferedInputStream;
import java.io.InputStream;
import java.io.IOException;
-import java.io.PrintWriter;
/** Converts an InputStream carrying a GIF image into an ARGB int[] */
public class GIF {
private static Queue instances = new Queue(10);
public static void load(InputStream is, Picture p) {
- GIF g = (GIF)instances.remove();
+ GIF g = (GIF)instances.remove(false);
if (g == null) g = new GIF();
try {
g._load(is, p);
} catch (Exception e) {
- if (Log.on) Log.log(GIF.class, e);
+ if (Log.on) Log.info(GIF.class, e);
return;
}
// FIXME: must reset fields