从pdf文件中提取嵌入式图像 [英] extract inline images fro pdf files
问题描述
你好朋友..
我需要从pdf文件中提取嵌入式对象图像...使用CCITFaxDecode压缩图像...我正在使用c ++ ....我应该怎么做?
据我所知,没有用于解压缩CCITTFaxDecode的开源库...
有人可以帮忙吗?
这是pdf的一部分...
流
0 0 0 0 89 77 d1
89 0 0 77 0 0厘米
BI
/IM true/W 89/H 77/BPC 1/F/CCF/DP <</K -1
/栏89
/BlackIs1 true
>>
ID&́N〜?〜?…ù?Lü¿?á〜?/ÂòàÉðA〜?_,ð_„?
ÿ
??ÿ?????üˆf?þN
?ø?øÿð??þ?þ?ÿÁ?„ @ ??üùá?ðƒ?¿ÿ‚‚ÿ?P?Ÿœ?? ÿÿÿÿþG´þ ?? ð‚ø¸
hello frnds..
i need to extract inline object images from a pdf file...the image is compressed using CCITFaxDecode...i am using c++....how should i do it?
there are no open source libraries for decompressing CCITTFaxDecode...as per my knowledge...
can somebody help?
here''s a part of the pdf...
stream
0 0 0 0 89 77 d1
89 0 0 77 0 0 cm
BI
/IM true/W 89/H 77/BPC 1/F/CCF/DP<</K -1
/Columns 89
/BlackIs1 true
>>
ID & N`~…ùLü ¿á~/ÂòàÉðA~_‚ð_„
"ÿ
ÿ‚ü ˆfþN
ø?ø ÿðþþÿÁ„@üùáðƒ¿ÿ‚‚ÿPŸœ?ÿÿÿÿþG´þð‚øà¸
推荐答案
您去过此链接吗?
http://stackoverflow.com/questions/2641770/extracting-image-from- pdf-with-ccittfaxdecode-filter
不确定是否对您有帮助.
have u gone to this link??
http://stackoverflow.com/questions/2641770/extracting-image-from-pdf-with-ccittfaxdecode-filter
Not sure whether it helps u.
PDF文件不是简单的流,而是由各种内部表链接的对象的集合.您需要从Adobe网站获得PDF规范的副本,以获取完整的详细信息.或者,您可以搜索有助于您阅读的第三方库.
A PDF file is not a simple stream but a collection of objects that are linked by various internal tables. You need to get a copy of the PDF specification from the Adobe website for full details. Alternatively you can search for third-party libraries that will help you read it.
这篇关于从pdf文件中提取嵌入式图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!