一种在ebook reader上看pdf的算法

by sundy 4/24/2008 4:19:00 PM

对ebook reader已经感兴趣一段时间了。曾经尝试过用翰林V3看A4幅面的技术类pdf,但效果难以接受。字体太小,页面又太大。特别是英文文档。

所以我想了一个办法来在ebook reader上看pdf.

1.  把pdf转换成图片。我用的是xpdf中的pdftoppm。如:
pdftoppm -r 180 -f 245 -l 245 -gray -aa yes a.pdf a

2. 分析产生的图片。把页面分解成行。

3. 把长行分成两段。

4. 把分好的段重新组织成页。

 

Currently rated 2.0 by 1 people

  • Currently 2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Gossip

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2007 - 2008 Design by Sundy Linghua-Zhang 蜀ICP备08108648号

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012

Sign in