View Issue Details

IDProjectCategoryView StatusLast Update
0001116savapage-core[All Projects] Generalpublic2020-02-24 17:22
ReporterrijkrAssigned Torijkr 
PrioritynormalSeveritymajorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version1.1.0 
Target Version1.2.0Fixed in Version1.2.0 
Summary0001116: Work around pdftocairo stdout bug
DescriptionIST: "pdftocairo -png" is used to create SafePages images. On centos-release-7-7.1908.0.el7, pdftocairo 0.26.5 fails like this example:
$ pdftocairo -png -r 24 -f 1 -l 1 -singlefile "a.pdf" - > "a.png"
Error opening output file fd://0.png
... although the manpage explains that "If the output-file is “-” , the output file will be written to stdout." Also see https://stackoverflow.com/questions/17231267/pdf-to-png-in-python-with-pdf2cairo
SOLL: Probe "pdftocairo -v". If version is 0.26.5 then execute workaround statements. This default probe strategy can be overwritten with configuration property "system.host.cmd.pdftocairo.img.strategy": AUTO = use version probe (default), STREAM = use one (1) stdout/stdin stream command, SPLIT = split action into separate commands.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-02-22 19:53 rijkr New Issue
2020-02-22 19:53 rijkr Status new => assigned
2020-02-22 19:53 rijkr Assigned To => rijkr
2020-02-24 17:22 rijkr Description Updated View Revisions
2020-02-24 17:22 rijkr Status assigned => resolved
2020-02-24 17:22 rijkr Resolution open => fixed
2020-02-24 17:22 rijkr Fixed in Version => 1.2.0