[poppler] pdftocairo - Updated Patches

Stefan Thomas thomas at txtbear.com
Thu Sep 30 04:37:21 PDT 2010


  Hey,

>> My preference is to maintain consistency with the other poppler utils.
>>
>> pdftops, pdftotext, and pdftohtml all use the source file with the
>> extension changed. I prefer pdftocairo to work the same way.
> Totally agreed here. Stefan, how difficult would be to make pdftocairo behave
> like these programs?

Not very difficult at all! Right now, I'm pretty backed up and I can't 
say when I'll have time to do it though. I'll try and do it this weekend 
or next weekend otherwise.

Cheers,

Stefan


>> pdftoppm is the exception in writing to stdout if no output name is
>> specified. This only makes sense for the ppm format which allows
>> multiple images concatenated together. Writing multiple images to
>> stdout does not work with the png or jpeg formats.
>>
>> Currently none of the other poppler utils (except pdftoppm which writes
>> to stdout) handle URLs with no output file specified. Whatever solution
>> is chosen for providing default filenames for URLs should be
>> consistently implemented across all the poppler utils. I would suggest
>> implementing behavior similar to wget. ie strip off everything up to
>> the last slash and escape any characters not supported by the
>> filesystem. Since the other poppler utils do not work with URLs with no
>> output file specified, I don't think finding a solution for this case
>> should block the committing of pdftocairo.
>>
>>> I'll make a final patch once we've decided the filename issue.
>>>
>>> Cheers,
>>>
>>> Stefan
>>> _______________________________________________
>>> 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