API Solution for C++, a game-changing library for loading, converting, and opening MS Publisher files. Seamlessly integrate it into your projects and gain access to incredible features of Aspose.PUB.
Vendor
Aspose
Company Website
Microsoft Publisher is a program designed for creating documents that rely heavily on page layout formatting. It supports MS Publisher 2.0 and later in addition to TXT, RTF, MS Word, HTML, Unicode text, and other file types. PUB files can combine images, text, and graphics, making them ideal for brochures, flyers, postcards, and a wide range of printed promotional materials. Since few applications can handle .pub files natively, the format is tightly bound to Microsoft Publisher. Aspose.PUB for C++ is a highly adaptable and user‑friendly API for loading, opening, editing, and converting .pub files directly within C++ applications. This powerful on-premise library supports transforming PUB documents into PDF, HTML, XLSX, DOC, and various popular image formats with speed and precision—without requiring Microsoft Publisher or any other external software. Developers can integrate Aspose.PUB into Windows or cross‑platform applications to build tools that open, merge, analyze, or convert PUB files programmatically. The API provides deep layer manipulation, allowing developers to draw on PUB layers using images or text, combine layers, modify content, apply effects, and export layers as images. It supports metadata editing, PUB creation from scratch, and imaging enhancements such as adjusting brightness, contrast, and gamma. It also includes advanced filters like Median, Gauss Wiener, Motion Wiener, and Bradley Threshold. Continuous enhancements extend capabilities such as fill layers, vector masks, custom transforms, and stroke rendering, ensuring the library evolves with modern publication needs.
Features
Core PUB Processing
- Load, parse, and open .pub files
- Convert PUB to PDF with minimal code
- Edit document metadata
- Create new PUB files from scratch
- Load PUB files without requiring Microsoft Publisher
- Save results to disk or output streams
Supported Output Formats
PUB →
- TIFF
- PNG
- JPEG
- GIF
- BMP
- DOC, DOCX
- XLS, XLSX
- CSV
- PPTX
- XPS
- EPUB
- TEX
- HTML, MHTML
- SVG
Layer Manipulation
- Access and draw on PUB layers
- Modify layer text and graphics
- Merge layers or detect flattened documents
- Export layers as images
- Generate thumbnails
Imaging Features
- Adjust brightness, contrast, and gamma
- Apply dithering or blur
- Filters supported: Median, Gauss Wiener, Motion Wiener, Bradley Threshold
Latest API Enhancements
- Fill layers: Pattern, Color, Gradient
- Support for GdFlResource, VmskResource, PtFlResource, VsmsResource
- Load JPEG/PNG/etc. into PsdImage without direct loading
- Layer Vector Mask support
- Text Layer Custom FlipRotate
- Stroke effect rendering with color fill
Benefits
- Fully standalone: No need for Microsoft Publisher or extra software.
- High performance: Fast PUB parsing and PDF/image conversion.
- Cross‑platform: Suitable for building Windows and cross‑platform C++ applications.
- Developer‑friendly: Clean API, ready‑made examples, and easy integration.
- Versatile output: Convert PUB files into many document and image formats.
- Advanced graphics control: Layer manipulation, filters, masks, and effects.
- Ideal for automation: Build batch converters, publishing workflows, editors, and document processing tools.