[Poppler-bugs] [Bug 68420] Cache lcms transformed values for ICC colorspaces in getRGB(), getCMYK() and getGray()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 26 03:30:05 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68420

--- Comment #3 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
Created attachment 84642
  --> https://bugs.freedesktop.org/attachment.cgi?id=84642&action=edit
cache cms values in getGray(), getRGB() and getCMYK()

Some additional remarks:

1. I tested the cache with -png, -png -gray and -jpegcmyk, in all cases the
rendering time took round about 2.5 seconds less than without cache on my
laptop.
2. I encountered, that the test PDF which I produced use a different ICC
colorspace for each shading. Therefore copying the cache is not necessary in
the ::copy function.
3. The increasement of speed comes from the lot of hits in the cache, but the
number of cached items is quite small. Therefore I choose a small limit (2048)
for the cache!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130826/92b8e259/attachment.html>


More information about the Poppler-bugs mailing list