将 PDF 或图像从 URL 加载到 CoverFlow 视图中
我想将 PDF 或图像加载到视图中,但当源是 URL 时,可能会出现连接延迟,因此我想知道将内容(如杂志)加载到 iPhone 中的 Coverflow 视图中时的最佳方法是什么? (对于 Coverflow,类似这样: http://apparentlogic.com/openflow/ )
- 可以吗然后得到一个pdf文件 获取对应的页面图片并 以适当的方式展示他们 解析 Coverflow 视图? (下载洞 PDF 可能需要 长)
- 或者最好将图像下载为 需要,然后将它们传递给 封面流? (虽然分辨率 可能是个问题,因此也许我 每个需要多于一张图像 页)
- 如果有 pdf 会更好吗 每个页面的文件?(所以它们可以是 以任何分辨率渲染,我 不必下载洞文件 马上)
希望您能就此提出一些建议。
提前致谢。
I want to load PDFs or Images into a View, but when the source is an URL there might be connection lags, so I wonder what is the best approach when loading content (like magazines) into a Coverflow view in the iPhone?.
(For Coverflow, something like this: http://apparentlogic.com/openflow/ )
- Is it ok to get a pdf file then
obtain corresponding page images and
show them in an appropriate
resolution a Coverflow view?
(Downloading the hole PDF might take
long) - Or is better to download images as
needed and then pass them to the
Coverflow? (Although resolution
might be a problem, hence maybe I
wil need more than one image per
page) - Would it be better to have a pdf
file for every page?(So they can be
rendered at any resolution and I
don't have to download the hole file
at once)
I hope you can give some advices on this.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
仅供记录:
经过一番研究,我想出了图像方法。它们是最简单、最快、合理的良好解决方案。它们可以分两个阶段加载:常规分辨率和用于缩放的更好分辨率等。
Just for the record:
After some research I came up with images approach. They are the simpler, fastest, and reasonable good resolution. They can be loaded in 2 stages, regular resolution and better resolution for zooming, etc.