package
3.29.0+incompatible
Repository: https://github.com/unidoc/unidoc-examples.git
Documentation: pkg.go.dev
# README
PDF Images
UniPDF allows you to add, extract, list images in your PDF documents. The library also allows you to insert a watermark image in each page of a PDF document.
Having the ability to play around with images allows for the creation of attractive PDF reports.
Examples
- pdf_add_image_to_page.go explains how to add an image in a PDF document
- pdf_images_to_pdf.go explains how to add multiple images in a PDF document, one image per page.
- pdf_list_images.go explains how to list images in a PDF file. Passes through each page, goes through the content stream and finds instances of both. XObject Images and inline images. Also handles images referred within XObject Form content streams.
- pdf_watermark_image.go explains how to add watermark image to each page of a PDF file.
- Image extraction example can be found in ../extract example subfolder.