You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/06/24 03:19:00 UTC

[jira] [Commented] (PDFBOX-5224) Optimize SampledImageReader.from1Bit()

    [ https://issues.apache.org/jira/browse/PDFBOX-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368580#comment-17368580 ] 

ASF subversion and git services commented on PDFBOX-5224:
---------------------------------------------------------

Commit 1891006 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1891006 ]

PDFBOX-5224: optimize reading of 1bit images, by Gunnar Brand; closes #122

> Optimize SampledImageReader.from1Bit()
> --------------------------------------
>
>                 Key: PDFBOX-5224
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5224
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.24
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.25, 3.0.0 PDFBox
>
>
> From Gunnar Brand:
> {quote}This fixes an issue with a missed logged error + loop breaking if an erroneous read falls onto a skipped row.
> It also improves the speed at least by factor twice (due to sign test instead of bit masking and boolean flag for subsampling).
> It will be even faster with regions, as there was a poor design choice of full inner loop computations even if x was below startX.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org