Bug 691869

Summary: pdfdraw is much slower than Ghostscript
Product: MuPDF Reporter: Mike <mlungu777>
Component: appsAssignee: Tor Andersson <tor.andersson>
Status: NOTIFIED WORKSFORME    
Severity: normal    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Windows 7   
Customer: 631 Word Size: ---
Attachments: PDF file

Description Mike 2011-01-06 05:14:54 UTC
Converting the attached PDF file to png with GS takes 40 seconds and converting the same file with pdfdraw takes 126 seconds. I can reproduce this behaviour with other PDF files too.

Here is the command line i use with Ghostscript:
gswin32c -r200x200 -dNOPAUSE -dBATCH -sDEVICE=png16m -sOutputFile=t%%d.png -f test.pdf

Here is the pdfdraw command line:
pdfdraw.exe -r 200 -o out%%d.png test.pdf
Comment 1 Mike 2011-01-06 05:16:08 UTC
Created attachment 7093 [details]
PDF file
Comment 2 Tor Andersson 2011-02-02 20:22:41 UTC
I'm not seeing the difference. On my machine, pdfdraw takes 22s user time. Ghostscript takes 40s user time, even without anti-aliasing.