Hi...

why does this work with gif

if(link.getName().endsWith(".gif"))
{
    GifImage gif = new GifImage(new
URL(config.getServerAdresse()+link.getName()));
    bild = gif.getImage(1);
}

and with bmp not??

if(link.getName().endsWith(".bmp"))
{
     BmpImage bmp = new BmpImage(new
URL(config.getServerAdresse()+link.getName()));
     bild = bmp.getImage(1);
}

<- gets:

checksoft/Fehlerreporting/BSFS/actions/PdfErzeugenAction.java [148:1] cannot
resolve symbol
symbol  : constructor BmpImage (java.net.URL)
location: class com.lowagie.text.pdf.codec.BmpImage
BmpImage bmp = new BmpImage(new
URL(config.getServerAdresse()+link.getName()));


isn't this inconsistent in behaviour????
Or is there a reason why... and how can i make this work for bmp?

best regards

Bj�rn Sommer



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to