> > Exception in thread "main" java.lang.IllegalArgumentException: Unknown 
> > image type 0

> And no stacktrace ?

Yes, I have a stacktrace.  (Or had -- I think I've deleted it.)
What's interesting in it?  I'm trying to create a BufferedImage from
another BufferedImage, read in using ImageIO.read().  The constructor
for BufferedImage is raising this exception.

> Exception in thread "main" java.lang.IllegalArgumentException: Unknown image 
> type 0
>         at java.awt.image.BufferedImage.<init>(BufferedImage.java:490)

The code that it's objecting to is this:

  BufferedImage newImg = new BufferedImage((int)(scl*width), (int)(scl*height), 
oldImg.getType());

Bill
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to