[poppler] pdftoppm vs. pdftocairo
Thomas Freitag
Thomas.Freitag at kabelmail.de
Mon Sep 19 03:28:45 PDT 2011
Am 19.09.2011 11:32, schrieb Albert Astals Cid:
> A Dilluns, 19 de setembre de 2011, Thomas Freitag vàreu escriure:
>> Am 19.09.2011 11:01, schrieb Albert Astals Cid:
>>> A Dilluns, 19 de setembre de 2011, Denny Reeh vàreu escriure:
>>>> Hello,
>>>>
>>>> i'm using pdftoppm -png to convert a pdf to png for showing in web
>>>> browsers. now, with the poppler release 0.17.3 pdftocairo was
>>>> introduced.
>>>>
>>>> what are the differences between "pdftoppm -png" and "pdftocairo -png"
>>>> ?
>>> They use different rendering backends (poppler-splash vs poppler-cairo)
>> That's obviously for me. The more interesting questions for me is (I was
>> suprised by pdftocairo, too):
>> 1. If I want to produce a png output,
>> a) which program produces the "correcter" output?
>> b) which program is faster?
>> Okay, nobody can probably answer this for all PDF. But are there any
>> experiences?
> It depends on the pdf you use.
>
>> 2. What is with futur bugs in png output? File them to splash or file
>> them to cairo?
> If happens in both pdftoppm and pdftocairo is probably something not render
> related so it's in the core, if happens only in one then it's obvious where
> the bug is ;-)
It's funny that you believe that if it happens in cairo and splash it is
a core problem. The higher probability in my opinion is that we have a
bug in splash AND cairo :-)
BTW, I just compiled it with actually versions of cairo and poppler from
git, and then tried pdftocairo with ducks.pdf: I must admit that I will
continue pdftoppm for the moment :-) (Of course also, because I know
more about splash than about cairo).
Thomas
>
>> 3. Are there any plans to support CMYK output with cairo (or does it
>> already support is)?
> No idea about this.
>
>> 4. pdftocairo has a PDF output option. What does this mean, when
>> producing a PDF with pdftocairo from a PDF? Something like a
>> "normalization"?
> No idea about this either.
>
> Albert
>
>> Thomas
>>
>>> Albert
>>>
>>>> Thanks,
>>>>
>>>> Regards Denny Reeh
>>>> _______________________________________________
>>>> poppler mailing list
>>>> poppler at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>>> _______________________________________________
>>> poppler mailing list
>>> poppler at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>> _______________________________________________
>> poppler mailing list
>> poppler at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/poppler
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list