|
BMP-GIF differences in handling with iText: msg#00106java.lib.itext.general
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.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Sizing of a pdf, Paulo Soares |
|---|---|
| Next by Date: | Non savable pdf, Martin Abrahamsson |
| Previous by Thread: | RE: [iText-questions]: Double bordering in PdfP Cell, Paulo Soares |
| Next by Thread: | RE: BMP-GIF differences in handling with iText, Paulo Soares |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |