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

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

     [ https://issues.apache.org/jira/browse/PDFBOX-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-5224:
------------------------------------
    Description: 
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}

  was:
{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}


> 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