[Plone-IT] visualizzare anteprima dei file PDF

Vito Falco vitofalco a gmail.com
Ven 13 Nov 2009 08:20:02 UTC


Ciao,
non ho mai usato questa libreria ma per gli errori suppongo:

1. installare la libjpeg su centos (via yum?)
2. installare la freetype lib http://www.freetype.org/download.html#stable

Vito

Il giorno 13 novembre 2009 09.17, Giacomo Zanobini <
g.zanobini a arpat.toscana.it> ha scritto:

>
> vorrei visualizzare l'anteprima della prima pagina dei file pdf che ho in
> una sezione del sito.
>
> Per generarla, ho cercato tra le varie librerie per pdf per Python, e
> questa, mi sembrava fare al caso mio:
> http://www.swftools.org/gfx_tutorial.html
>
> *Sembrava *anche facile da installare con un due comandi:
> python setup.py build
> python setup.py install
>
> MA
> ovviamente non funziona, dando questo errore su una macchina CentOS:
>
> # python setup.py build
> Creating config.h...
> Error: Couldn't find jpeg library on your system
>
>
> e questo altro errore su una Ubuntu
> # python setup.py build
> Creating config.h...
> Error: Couldn't find freetype library on your system
>
>
> qualcuno di voi ha mai installato e provato questo modulo Python?
>
> oppure qualcuno di voi ha mai generato immagini a partire da file pdf, da
> visualizzare sul sito?
>
>
>
> Giacomo
>
>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
>



-- 
"Design is the method of putting form and content together. Design, just as
art, has multiple definitions; there is no single definition. Design can be
art. Design can be aesthetics. Design is so simple, that's why it is so
complicated." by Paul Rand
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20091113/4c11c6ea/attachment.html>


Maggiori informazioni sulla lista Plone-IT