Chapter 16. PDF streams

This chapter covers

  • Image and font streams
  • Adding and extracting file attachments
  • Creating portable collections
  • Integrating rich media

We’ve arrived at the final chapter of part 4. In this part, we’re turning PDF files inside out. In chapter 13, we explored the file structure and discussed the different objects. We focused on the content stream of pages in chapters 14 and 15.

In this chapter, we’ll continue working with streams: we’ll look at image and font streams, and you’ll find out how to add streams containing other files as attachments, and how to organize these files in a portable collection. We’ll finish this chapter with some really cool examples of adding multimedia annotations to a document and integrating ...

Get iText in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.