Summary: | speed up of rendering icc based images | ||
---|---|---|---|
Product: | poppler | Reporter: | Thomas Freitag <Thomas.Freitag> |
Component: | splash backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | aikorsky |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Increase speed for ICC based images
add splashModeXBGR8 implementation |
Description
Thomas Freitag
2015-04-25 12:34:55 UTC
This is the rendering time on my laptop of a PDF with just a high resolution icc base image: time ./utils/pdftoppm -png -cropbox /media/thomas/HD-PCTU3/Testdaten/bug-poppler90171.pdf output/the.png real 0m11.711s user 0m11.217s sys 0m0.029s (Since the PDF is quite huge, 9.4 MByte, and I don't have the rights of the image, I send it in private on monday, I've problems with my network at home) But when I do it the other way round: time ./utils/pdftoppm -png -cropbox /media/thomas/HD-PCTU3/Testdaten/bug-poppler90171.pdf output/the.png real 0m1.266s user 0m1.221s sys 0m0.047s Created attachment 115321 [details] [review] Increase speed for ICC based images This patch transforms the image bitmap after scaling I have regtested the patch with my PDF suite and checked it for memory leaks with valgrind Nice, please send the file when you can, and let's see if i can find for this, i'm really behind in poppler stuff lately :/ Do you think there's a possibility of getting the splashModeXBGR8 implemented or it just can't happen? Created attachment 115433 [details] [review] add splashModeXBGR8 implementation (In reply to Albert Astals Cid from comment #5) > Do you think there's a possibility of getting the splashModeXBGR8 > implemented or it just can't happen? Yes, it can happen, I tested it with a modified pdftoppm. So here the patch where I add the splashModeXBGR8 implementation with nearly the same increase of speed. Pushed |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.