You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petr Slaby (JIRA)" <ji...@apache.org> on 2014/06/07 00:02:02 UTC

[jira] [Created] (PDFBOX-2123) Optimize reading of 1-bit depth images in

Petr Slaby created PDFBOX-2123:
----------------------------------

             Summary: Optimize reading of 1-bit depth images in 
                 Key: PDFBOX-2123
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2123
             Project: PDFBox
          Issue Type: Improvement
          Components: PDModel
    Affects Versions: 2.0.0
            Reporter: Petr Slaby


Reading of 1-bit depth (black and white) images in SampleImageReader can be optimized. The attached patch reduces the time spent in SampleImageReader#getRGBImage() from 4 seconds to 1.8 second on my notebook with the attached PDF.



--
This message was sent by Atlassian JIRA
(v6.2#6252)