[
https://issues.apache.org/jira/browse/PDFBOX-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369216#comment-17369216
]
ASF subversion and git services commented on PDFBOX-5224:
---------------------------------------------------------
Commit 1891036 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1891036 ]
PDFBOX-5224: Sonar fix
> 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
>
> Attachments: Alfa-p1.pdf
>
>
> 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}
> Attached: page 1 of https://archive.org/details/AlfaWaffenkatalog1911
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]