Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#82 preview pdf as image

closed
nobody
None
5
2011-01-31
2011-01-27
ben
No

Hi,
i am using module Files and informations in my pdf files are often in graphic. So I need to view first page from pdf file as preview in Details View.
Textual information axtracted by pdfinfo and pdftotext can be accessible through link >> /the same as at image files/
I think the conversion can be done with (package netpbm-progs) pdftoppm -png -scale-to 200 -f 1 -l 1 file.pdf, with using your caching system.

Can you give me some hints?
Thank you
--------------------------------------------------------------------
Simple Groupware version: 0.701
Simple Groupware language: en
PHP Version: 5.3.5
Database + Version: mysql 507
Server OS: Linux vm23 2.6.35.10-74.fc14.i686 #1 SMP Thu Dec 23 16:17:40 UTC 2010 i686
Webserver: Apache/2.2.17 (Fedora)
Webbrowser: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E)

Discussion

  • Thomas Bley
    Thomas Bley
    2011-01-27

    • milestone: 784073 -->
    • labels: 1045984 -->
     
  • Thomas Bley
    Thomas Bley
    2011-01-27

    • summary: preview pdf --> preview pdf as image
     
  • ben
    ben
    2011-01-27

    or both information (Image and Text) can be displayed together

     
  • Thomas Bley
    Thomas Bley
    2011-01-31

    Hello,

    I've added the image preview for pdfs to the new release (0.702).

    bye
    Thomas

     
  • Thomas Bley
    Thomas Bley
    2011-01-31

    • status: open --> closed