[poppler] Help with pdftohtml background image resolution

Albert Astals Cid aacid at kde.org
Thu Aug 12 11:11:12 PDT 2010


A Dijous, 12 d'agost de 2010, ChunWei Ho va escriure:
> I've tried poppler versions 0.14.1, 0.11.3 and 0.10.7
> 
> poppler 0.14.1 configure outputs:
> Building poppler with support for:
>   font configuration: fontconfig
>   splash output:      yes
>   cairo output:       no
>   abiword output:     yes
>   qt wrapper:         no
>   qt4 wrapper:        no
>   glib wrapper:       no
>     use GDK:          no
>   cpp wrapper:        yes
>   use gtk-doc:        no
>   use libjpeg:        yes
>   use libpng:         yes
>   use zlib:           no
>   use libcurl:        no
>   use libopenjpeg:    no
>   use cms:            no
>   command line utils: yes
> 
>   Warning: Using libopenjpeg is recommended
> 
> If its a case of missing dependencies, do let me know which ones to
> install. I'm running on a older Ubuntu (8.04) so not all might be
> available.
> 
> However pdftohtml-0.40a runs just fine on that machine (except without
> unicode support).

Then probably something got lost/messed when we copied the code over, might 
you do some code diffing and see if you can fix the problem?

If you are not a developer you'll have to file a bug in the bugzilla so we 
remember there is something wrong.

Albert

> 
> Thanks.
> 
> >> I've been using pdftohtml (http://pdftohtml.sourceforge.net/) for PDF
> >> to HTML conversion for my application, and recently tried to upgrade
> >> it to use poppler-utils.
> >> I usually invoke it as "pdftohtml -c -noframes [input pdf] [output
> >> html]" The commandline interface and all is fine but the images (I
> >> understand a background image is generated per page) is now really bad.
> >> I did a check and under the old pdftohtml project, each background
> >> image (PNG) for a page is 1785x2526 resolution.
> >> 
> >> Under poppler-utils, each background image (PNG) is 594x843 resolution.
> >> 
> >> Can someone point me in the right direction to change/fix this? There
> >> doesn't appear to be a command line parameter for this.
> >> The new background images are bad to the extent of unusable. Which is
> >> a shame, because I really want to move to poppler-utils for the
> >> unicode and continued support.
> >
> >Which poppler version are you using?
> >
> >Albert
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list