问题描述
我已经在JAI/ImageIO领域中探究了几条线索(示例应用程序),但到目前为止还缺乏性能.
I have explored several leads (sample apps) in the JAI/ImageIO arena, and have so far come up lacking in performance.
可能不是Java不是用于快速查看/缩放/编辑tiff文件的平台.
It may just be that Java is not the platform for fast viewing/scaling/editing of tiff files.
我希望产生与Irfanview类似的性能,但是到目前为止,我还没有找到想要的东西.
I am looking to produce performance similar to Irfanview, but so far haven't found what I am looking for.
JAI \ ImageIO似乎是可能的-但在如何加载/缩放/显示图像方面(就性能而言)似乎有很多变化.
JAI\ImageIO seems possible - but there seems to be many variations in how one can load/scale/display the images (in so far as performance is concerned).
任何人都有运气或建议让其他摇滚乐团翻身(其他图书馆,甚至JNI c扩展路线),都希望听到他们的声音!
Anyone have any luck or recommendations for other rocks to turn over (other libraries, or even JNI c extension route) would love to hear them!
推荐答案
我真的会推荐JAI/ImageIO路由.
I would really recommend the JAI/ImageIO route.
几年前,我遇到了同样的问题,即显示大量的tiff文件以进行裁剪旋转等,在与JAI一起度过了一段愉快的时光之后,我能够处理tiff图像而没有任何性能问题.这些超过90Mb
Several years ago I had this same issue of displaying massive tiff files for cropping rotation etc, and after spending some good time with JAI I was able to work with the tiff images without any issues of performance. These were in excess of 90Mb
我不记得任何有用的提示,但是您使用JAI朝着正确的方向前进.我可以想象这些年来性能也有所提高:)
I'm not able to recall any usefull tips, but you are going in the right direction with JAI. I would imagine the performance has increased over the years too :)
这篇关于任何人都可以用Java编写非常快速的Tiff查看器/编辑器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!