/*
NOTE: Inline images use a peculiar syntax that's an exception to the usual rule
that the data in a content stream is interpreted according to the standard PDF syntax
for objects.
*/
InlineImageHeader header;
{
final List<PdfDirectObject> operands = new ArrayList<PdfDirectObject>();
// Parsing the image entries...
while(moveNext()
&& tokenType != TokenTypeEnum.Keyword) // Not keyword (i.e. end at image data beginning (ID operator)).
{operands.add(parsePdfObject());}
header = new InlineImageHeader(operands);
}
InlineImageBody body;
{
moveNext();