package
3.29.0+incompatible
Repository: https://github.com/unidoc/unidoc-examples.git
Documentation: pkg.go.dev
# README
Advanced UniPDF Examples
- pdf_grayscale_transform.go converts an entire PDF file to grayscale in a vectorized fashion, including images and all content.
This advanced example demonstrates some of the more complex capabilities of UniPDF, showing the capability to process and transform objects and contents.
The conversion applies to:
- XObject images - and transforming through each color component to corresponding DeviceGray component.
- Inline images.
- Shapes such as lines as curves in the content stream.
- Shadings and patterns.