Eclipse extension for opening TIFF (type 4) images?

I need to display a TIFF (type 4) image in Eclipse from a Java stream. TIFFv4 is not supported, so I need an image library. Sun's JAI-ImageIO has native code -- I can't wrap it easily into a plugin. I can't just import jai-imageio.jar (et al) from the lib\ext directory because Eclipse has its own ideas about classpaths. Any suggestions for image extensions / libraries usable in Eclipse? Although I've got the same core code compiling and running on the same Eclipse (Galileo) as a standard Java program, when I make it part of an Eclipse BIRT extension (I modified the RotatedLabel ReportItem example), it fails. What happens is that the code compiles (I added the jars to the jre\lib\ext directory) and it fails at runtime with the following error (in the log file): > SEVERE: Error happened while running the report. > java.lang.NoClassDefFoundError: javax/media/jai/PlanarImage > at org.eclipse.birt.sample.reportitem.rotatedlabel.util.GraphicsUtil.createDocImage( > at > org.eclipse.birt.sample.reportitem.rotatedlabel.RotatedLabelPresentationImpl.onRowSets( > at

以上就是Eclipse extension for opening TIFF (type 4) images?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准