What are Sequential, Random and Embedded JBIG2 file organization?
A JBIG2 file consists of a header and one or more segments. Each segment consists of a segment header and segment data. A Sequential file consists of a monotonically increasing set of segments from segment number 0 to the last segment in which each segment header and data bit streams are grouped together. A Random file structure groups all the segment headers together at the beginning of the file and segment data at the end. An embedded file is one in which the JBIG2 header, End of Page and End of File segments are removed. A Sequential file is decoded from the beginning to the end in sequence while a Random File can be accessed anywhere. Remember that symbol dictionaries can be placed anywhere. The decision as to which file organization to use depends on the application and if PDF compliant output is required. Random file structure allows any page to rapidly be accessed and decoded.