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

Maruan Sahyoun commented on PDFBOX-6199:
----------------------------------------

at the beginning of the DecoderProcedure: {{private static final int 
SLTP_CONTEXT_TEMPLATE1 = 0x080; // ยง6.3.5.6, Figure 15}} and then in Template1 
{{cx.setIndex(SLTP_CONTEXT_TEMPLATE1);}}

> Template 1 handling with TPGRON not supported
> ---------------------------------------------
>
>                 Key: PDFBOX-6199
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6199
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: JBIG2
>    Affects Versions: 3.0.4 JBIG2
>            Reporter: Maruan Sahyoun
>            Priority: Minor
>         Attachments: image-2026-04-28-12-27-28-955.png, 
> image-2026-04-28-12-28-19-575.png, image-2026-04-28-12-29-21-038.png
>
>
> {{bitmap-refine-template1-tpgron.jbig2}} tests the folling features of JBIG2:
> - Refinement region
> - Template 1
> - TPGRON
> - Reference bitmap reuse
> We currently produce garbled output when decoding



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to