O'Reilly logo

iText in Action: Creating and Manipulating PDF by Bruno Lowagie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Inserting images

This chapter covers

  • Image types supported in iText

  • com.lowagie.text.Image vs. java.awt.Image

  • Image properties

In the previous chapter, we talked about this quick brown fox jumping over that lazy dog. To take a quote from David Lynch’s movie Wild at Heart, “Mentally you picture my dog, but I haven’t told you the type of dog which I have. Perhaps you even picture Toto, from the ‘Wizard of Oz.’” That’s definitely not the kind of dog I’m thinking of. Wouldn’t it be nice if you could add a picture of a specific fox and a specific dog in the document? If so, what types of images does iText support? Those and other questions will be answered in this chapter.

iText supports a range of standard image types and adds some extra types ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required