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(GraphicsUtil.java:64) > at > org.eclipse.birt.sample.reportitem.rotatedlabel.RotatedLabelPresentationImpl.onRowSets(RotatedLabelPresentationImpl.java:135) > at org.eclipse.birt.report.engine.extension.ReportItemPresentationBase.onRowSets(ReportItemPresentationBase.java:218)

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

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

评论 抢沙发

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

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

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏