如何使用libtiff编写多页tiff? [英] How can I write a multi-page tiff using libtiff?
本文介绍了如何使用libtiff编写多页tiff?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想写多页(例如64)tiff图像,但不能使用
tiffreadscanline()方法。它只能显示一页。哪里出错了?我怎么办?
I want to write multi-page(eg.64) tiff image, but can''t make it using
tiffreadscanline() method. It can only display one-page. Where is the wrong and how can I?
推荐答案
对不起。我使用的功能是tiffwritescanline()。
Sorry. The fuction I used is tiffwritescanline().
尝试使用TIFFWriteDirectory()函数
指定你编写的页面数。
如果你仍然没有得到它,请告诉我
try to use TIFFWriteDirectory() function
specifying no of pages you write.
If you still don''t get it let me know
这篇关于如何使用libtiff编写多页tiff?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文