Skip to main content
Skip table of contents

Image examples

In this section, you'll find the questions related to raster images, such as JPG, PNG, GIF, and so on.

How to draw lines on an image?


How to add text to an image?


How to avoid an exception when importing a TIFF file?


How to add JPEG images that are multi-stage filtered (DCTDecode and FlateDecode)?


How to get the image DPI in PDF?


Why aren't images added sequentially?


How to add multiple images into a single PDF?


How to preserve high resolution images in PDF?


How to give an image rounded corners?


How to convert colored images to black and white?


How to make an image a qualified mask candidate in itext?


How to change a background Image into a watermark by altering the opacity?


How to show an image with large dimensions across multiple pages?


How to create unique images with Image.getInstance()?


How to generate 2D barcode as vector image?


How to add a map with a pointer to a PDF?


How to prevent images from resizing in a table cell?


How to use an image as list symbol?


Which image types are supported by iText?


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.