使用Java计算tif图像文件中的页数 [英] Counting number of pages in tif image file using java
本文介绍了使用Java计算tif图像文件中的页数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何计算tiff文件中的页数?我把它当作字节数组
How can i count the number of pages in tiff file? i get it as byte array
谢谢
推荐答案
您可以使用Java Advanced Imaging API获取页数. IE.使用:
You can get the number of pages using the Java Advanced Imaging API. I.e. Using:
An example of how to use it can be found here.
这篇关于使用Java计算tif图像文件中的页数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文