Anyone have any luck writing a very fast tiff viewer/editor in Java?

两盒软妹~` 提交于 2019-12-08 12:50:59

问题


I have explored several leads (sample apps) in the JAI/ImageIO arena, and have so far come up lacking in performance.

It may just be that Java is not the platform for fast viewing/scaling/editing of tiff files.

I am looking to produce performance similar to Irfanview, but so far haven't found what I am looking for.

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).

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!


回答1:


I would really recommend the JAI/ImageIO route.

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

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 :)



来源:https://stackoverflow.com/questions/1494457/anyone-have-any-luck-writing-a-very-fast-tiff-viewer-editor-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!