Previous Next


                                                      82
          CHAPTER 3                                                                         Syntax




                           TABLE 3.10 Optional parameter for the JBIG2Decode filter
KEY                 TYPE           VALUE

JBIG2Globals        stream         A stream containing the JBIG2 global (page 0) segments. Global segments
                                   must be placed in this stream even if only a single JBIG2 image XObject re-
                                   fers to it.

          Example 3.4 shows an image that was compressed using the JBIG2 compression
          method and then encoded in ASCII hexadecimal representation. Since the JBIG2
          bit stream contains global segments, these segments are placed in a separate PDF
          stream, as indicated by the JBIG2Globals filter parameter.

          Example 3.4

               5 0 obj
                   << /Type /XObject
                      /Subtype /Image
                      /Width 52
                      /Height 66
                      /ColorSpace /DeviceGray
                      /BitsPerComponent 1
                      /Length 224
                      /Filter [ /ASCIIHexDecode /JBIG2Decode ]
                      /DecodeParms [ null << /JBIG2Globals 6 0 R >> ]
                   >>
               stream
               000000013000010000001300000034000000420000000000
               00000040000000000002062000010000001e000000340000
               004200000000000000000200100000000231db51ce51ffac >
               endstream
               endobj

               6 0 obj
                   << /Length 126
                      /Filter /ASCIIHexDecode
                   >>
               stream
               0000000000010000000032000003fffdff02fefefe000000
               01000000012ae225aea9a5a538b4d9999c5c8e56ef0f872
               7f2b53d4e37ef795cc5506dffac >
               endstream
               endobj

Previous Next