开发者

Browser PDF File Previwer(Google Style)

I am working on an application which needs to preview privileged content in the browser. The preview should work in a way that its NOT possible to download the content. Only reading within the browser is allowed. I have looked at google docs preview but it needs the url of the docs to accessible online. I need to work with content in the intranet

The previewer should not mandate the installation of a开发者_开发百科 pluggin as this would limit the access.

Any hints


Have a look at ImageMagick. If your're using, say, php, you could do something like

exec("convert -resize 500×800 {$file}.pdf {$file}.jpg");

and then display the resulting jpg-file on a webpage.

man convert should give you some further options.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜